You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running one of the solve_model() functions for more than 100 days, the "time" column of the output matrix does not have sufficient numerical precision to distinguish the different time points of the output. Seems like the precision is fixed at 4 sig figs, which isn't enough for longer simulations.
Precision for time output needs to be determined based on the length of the simulation and the number of time steps.
Reproducible example:
When you run for 100 days or less, the time points are distinguishable:
Merge in HTTK/httk-dev from HTTK-78 to patch/2.2.3
* commit '40bf86d957cef225ec9a4d1d688260829dd3676e':
update the code comments for context of the error messages
remove the temporary print outs and ERROR tags on error messages used for code behavior testing
update error messages for get_clint - adding another error message to consider
initial update - update the checks and reported error messages to be more informative
HTTK-135 resolution, fix the logical checks by adding a check for param.val == NA
Merge in HTTK/httk-dev from HTTK-78 to patch/2.2.3
* commit '40bf86d957cef225ec9a4d1d688260829dd3676e':
update the code comments for context of the error messages
remove the temporary print outs and ERROR tags on error messages used for code behavior testing
update error messages for get_clint - adding another error message to consider
initial update - update the checks and reported error messages to be more informative
HTTK-135 resolution, fix the logical checks by adding a check for param.val == NA
When running one of the
solve_model()
functions for more than 100 days, the "time" column of the output matrix does not have sufficient numerical precision to distinguish the different time points of the output. Seems like the precision is fixed at 4 sig figs, which isn't enough for longer simulations.Precision for time output needs to be determined based on the length of the simulation and the number of time steps.
Reproducible example:
When you run for 100 days or less, the time points are distinguishable:
When you run for more than 100 days, the time points are not distinguishable:
The text was updated successfully, but these errors were encountered: