Skip to content
Snippets Groups Projects
Commit 5f8ef370 authored by Maël Madon's avatar Maël Madon
Browse files

fix: correcting bug where a user was asking to be called in the past

parent b19ffec4
Branches
Tags
No related merge requests found
Pipeline #5562 passed
......@@ -86,7 +86,7 @@ void DynScheduler::make_decisions(double date,
/* Time of next_submission might have changed in response to feedback */
double new_date_of_next_submission = broker->next_submission(date);
if (new_date_of_next_submission == date)
if (abs(date - new_date_of_next_submission) < .00001)
{
submit_broker_jobs(date);
new_date_of_next_submission = broker->next_submission(date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment