fossilfree / numerous

Numerous - an object-oriented modelling and simulation engine.
https://numerous.com
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

ChangeRequest: Same signature for equation, callback and event function. #97

Closed LasseNT closed 2 years ago

LasseNT commented 2 years ago

Change signature of equations, event function and callback on items to be the same.

This will make it easier to write the three different things without remembering different formats of the inputs. It would also be great to be able to access the global or subhierachy of items/variables from the equation function.

miamirov commented 2 years ago

https://github.com/fossilfree/numerous/pull/113