Skip to content

Commit 1ed40f8

Browse files
add unicode to the tests
1 parent 3ad6c20 commit 1ed40f8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/ParameterizedFunctions.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
__precompile__()
2+
13
module ParameterizedFunctions
24

35
if haskey(ENV, "symengine_jl_safe_failure")

test/runtests.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ NJ(t,u,du)
141141
test_fail(x,y,d) = erf(x*y/d)
142142
println("Test non-differentiable")
143143
NJ = @ode_def NoJacTest begin
144-
dx = a*x - b*x*y
144+
dx = a*x - μ*x*y
145145
dy = -c*y + test_fail(x,y,d)
146-
end a=>1.5 b=>1 c=3 d=4
146+
end a=>1.5 μ=>1 c=3 d=4
147147
NJ(t,u,du)
148148
@test du == [-3.0;-3*3.0 + erf(2.0*3.0/4)]
149149
@test du == NJ(t,u)
@@ -169,5 +169,4 @@ end α=>0.5 β=2.0
169169
@test h(1.0,x,x) == l(1.0,x,x)
170170

171171
println("Make sure all of the problems in the problem library build")
172-
#segfaults because of unicode
173-
#using DiffEqProblemLibrary
172+
using DiffEqProblemLibrary

0 commit comments

Comments
 (0)