We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09ecdea + e742991 commit 2768ecbCopy full SHA for 2768ecb
src/algorithms/solvers.jl
@@ -147,7 +147,7 @@ function _core_msolve(
147
jl_vnames = Base.unsafe_wrap(Array, res_vnames[], jl_rp_nr_vars)
148
vsymbols = [Symbol(unsafe_string(jl_vnames[i])) for i in 1:jl_rp_nr_vars]
149
#= get possible variable permutation, ignoring additional variables=#
150
- perm = sortperm(vsymbols[1:nr_vars])
+ perm = findfirst.(isequal.(R.S), Ref(vsymbols))
151
152
rat_param = _get_rational_parametrization(jl_ld, jl_len,
153
jl_cf, jl_cf_lf, jl_rp_nr_vars)
0 commit comments