CADLabs / radCAD

A Python framework for designing, testing, and validating complex systems through modelling and simulation.
GNU General Public License v3.0
97 stars 25 forks source link

Convert timesteps to int before running simulation #43

Closed BenSchZA closed 10 months ago

BenSchZA commented 3 years ago

If a user passes a float for timesteps, the simulation should handle this or throw a proper error.

alex-damjanovic commented 10 months ago

Is this issue still active? @BenSchZA

BenSchZA commented 10 months ago

Hey @alex-damjanovic, this has been handled in the dev branch, soon to be merged (just need to write up a changelog). See here: https://github.com/CADLabs/radCAD/blob/7710eb61273b94f56d7fe748927e07052010242a/radcad/core.py#L116