Skip to content

Commit

Permalink
error on non-ASCII names passed to SuiteSparse
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed May 4, 2016
1 parent 16a5d05 commit 8509862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/sparse/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ end

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

0 comments on commit 8509862

Please sign in to comment.