Skip to content

Commit ee7da8d

Browse files
authored
Update src/stdlib_intrinsics_matmul.fypp
1 parent 61851fc commit ee7da8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stdlib_intrinsics_matmul.fypp

+2-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ contains
255255
k = p(5)
256256
call gemm('N', 'N', m, n, k, one_${s}$, temp, m, m5, k, zero_${s}$, res, m)
257257
case default
258-
error stop "stdlib_matmul: internal error: unexpected s(i,j)"
258+
err0 = linalg_state_type(this,LINALG_INTERNAL_ERROR,"internal error: unexpected s(i,j)")
259+
call linalg_error_handling(err0,err)
259260
end select
260261

261262
end subroutine stdlib_matmul_sub_${s}$

0 commit comments

Comments
 (0)