Skip to content

Commit 8509862

Browse files
error on non-ASCII names passed to SuiteSparse
1 parent 16a5d05 commit 8509862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/sparse/cholmod.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ end
603603

604604
### cholmod_check.h ###
605605
function print_sparse{Tv<:VTypes}(A::Sparse{Tv}, name::String)
606+
isascii(name) || error("non-ASCII name: $name")
606607
cm = common()
607608
set_print_level(cm, 3)
608609
@isok ccall((@cholmod_name("print_sparse", SuiteSparse_long),:libcholmod), Cint,

0 commit comments

Comments
 (0)