Skip to content

Commit d06bf22

Browse files
authored
Merge pull request #424 from SciML/fixing_wronskian
fixing the random point generation in the wronskian computation
2 parents c25204a + 83ae2a3 commit d06bf22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/wronskian.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,12 @@ Computes the Wronskians of `io_equations`
220220
@debug "Computing power series solution up to order $ord"
221221
ps = power_series_solution(
222222
ode_red,
223-
Dict(p => rand(1:100) for p in ode_red.parameters),
224-
Dict(x => rand(1:100) for x in ode_red.x_vars),
225-
Dict(u => [rand(1:100) for i in 0:ord] for u in ode_red.u_vars),
223+
Dict(p => rand(1:(PRIME - 1)) for p in ode_red.parameters),
224+
Dict(x => rand(1:(PRIME - 1)) for x in ode_red.x_vars),
225+
Dict(u => [rand(1:(PRIME - 1)) for i in 0:ord] for u in ode_red.u_vars),
226226
ord,
227227
)
228+
228229
@debug "Computing the derivatives of the solution"
229230
ps_ext = Dict{MPolyRingElem, Nemo.fpAbsPowerSeriesRingElem}()# Generic.AbsSeries}()
230231
for v in vcat(ode_red.y_vars, ode_red.u_vars)

0 commit comments

Comments
 (0)