Skip to content

Commit

Permalink
Merge pull request #73 from rprebet/bug-order-vars
Browse files Browse the repository at this point in the history
Fix bug in variable permutation
  • Loading branch information
mohabsafey committed Aug 30, 2024
2 parents 09ecdea + e742991 commit 2768ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function _core_msolve(
jl_vnames = Base.unsafe_wrap(Array, res_vnames[], jl_rp_nr_vars)
vsymbols = [Symbol(unsafe_string(jl_vnames[i])) for i in 1:jl_rp_nr_vars]
#= get possible variable permutation, ignoring additional variables=#
perm = sortperm(vsymbols[1:nr_vars])
perm = findfirst.(isequal.(R.S), Ref(vsymbols))

rat_param = _get_rational_parametrization(jl_ld, jl_len,
jl_cf, jl_cf_lf, jl_rp_nr_vars)
Expand Down

0 comments on commit 2768ecb

Please sign in to comment.