Skip to content

Commit 0373f17

Browse files
change error message
1 parent 44b79de commit 0373f17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Object_Methods/Matrix_Methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GrB_SUCCESS::GrB_Info = 0
2020
function GrB_Matrix_new(A::GrB_Matrix{T}, type::GrB_Type, nrows::U, ncols::U) where {U <: GrB_Index, T <: valid_types}
2121
A_ptr = pointer_from_objref(A)
2222
if jl_type(type) != T
23-
error("Given domain and matrix type do not match")
23+
error("Domain and matrix type do not match")
2424
end
2525
return GrB_Info(
2626
ccall(

src/Object_Methods/Vector_Methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GrB_SUCCESS::GrB_Info = 0
2020
function GrB_Vector_new(v::GrB_Vector{T}, type::GrB_Type, n::U) where {U <: GrB_Index, T <: valid_types}
2121
v_ptr = pointer_from_objref(v)
2222
if jl_type(type) != T
23-
error("Given domain and vector type do not match")
23+
error("Domain and vector type do not match")
2424
end
2525
return GrB_Info(
2626
ccall(

0 commit comments

Comments
 (0)