TUDelft-CITG / OpenCLSim

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.
https://openclsim.readthedocs.io
MIT License
14 stars 17 forks source link

fix floating point error #79

Closed Pietervanhalem closed 4 years ago

uijl commented 4 years ago

The black formatting test on CircleCI is broken, so please remove that form the yaml as well or continue on the branch that has this error included (https://github.com/TUDelft-CITG/OpenCLSim/tree/fix/movers)

Pietervanhalem commented 4 years ago

I spoke to soon when I sad that I could make the node detection method more elegant. This only works if you have a list of nodes and not when the nodes are inside an object. I fixed the np.isclose issue and removed black. can you merge it? can you also make a new version on PIPY so that it works inside my docker container? thanks in advance!