Skip to content

[bugfix][integrands] sort UFL coefficients by their `count`

Martin Nolte requested to merge feature/sort-coefficients-by-number into master

This should ensure a deterministic order of the coefficients in the generated model and, hence, a consistent order between runs. Before this, coefficients might have been reordered arbitrarily by Python, leading to inconsistencies if the Integrands model was reused from a previous run.

Merge request reports