PhIMaL / DeePyMoD

https://phimal.github.io/DeePyMoD/
MIT License
44 stars 11 forks source link

Move sparse placement to abstract class. #36

Closed GJBoth closed 3 years ago

GJBoth commented 3 years ago

The constraint now calculates the coefficient and puts the coefficients in the right spot (line 32 of constraint.py). I think this would be better suited in the abstract baseclass cause we do it all the time.

GJBoth commented 3 years ago

This would also be nice cause now we cannot use the constraint in itself, which is a tad annoying.