Skip to content

Commit

Permalink
Fix bug in variable permutation
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Prebet committed Aug 29, 2024
1 parent 09ecdea commit e742991
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 e742991

Please sign in to comment.