Skip to content

Commit 2bdf754

Browse files
authored
Merge pull request #476 from SciML/sort_pivot
getting pivot before passing to RFF
2 parents cc56661 + 890d6ba commit 2bdf754

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/global_identifiability.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ are identifiable functions containing or not the state variables
4343
for eq in values(io_equations)
4444
eq_coefs = collect(values(extract_coefficients(eq, nonparameters)))
4545
eq_coefs = [parent_ring_change(c, bring) for c in eq_coefs]
46+
sort!(eq_coefs, by = (p -> (total_degree(p), length(p))))
4647
push!(coeff_lists[:no_states], eq_coefs)
4748
end
4849
end

0 commit comments

Comments
 (0)