ComputationalRadiationPhysics / redGrapes

Resource-based, Declarative task-Graphs for Parallel, Event-driven Scheduling :grapes:
https://redgrapes.rtfd.io
Mozilla Public License 2.0
20 stars 5 forks source link

fix modulo zero #46

Closed psychocoderHPC closed 9 months ago

psychocoderHPC commented 10 months ago

Modulo zero is not allowed and results in an arithmetic error.

This is the first error I hit on my system with the example 1_resource. The dev branch is still not working on my laptop but this fixes one problem, other are under investigation.

psychocoderHPC commented 10 months ago

The reason why I run into the issue I tried to fix with this PR is #47. The example was not implemented correctly.

psychocoderHPC commented 10 months ago

I set this PR for now to draft maybe it is not required anymore.

psychocoderHPC commented 10 months ago

not required it was solved with #47