-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Problem: the call of the run(int x) function in TaskManager has an overflow condition as the counter "nCircles" is an signed int.
If this value exceeds 2147483647 it's wrapped to negative number. As this is a barely seldom case in the most simulation, the TaskManager is only executed once.
Solution: Change all occurrence of "int" to "uint64_t".
void run(int nPeriods); |
int nCircles; |
LeMonADE/src/LeMonADE/utility/TaskManager.cpp
Line 141 in 7523a6b
void TaskManager::run(int nPeriods) |
LeMonADE/src/LeMonADE/utility/TaskManager.cpp
Line 146 in 7523a6b
int actualCircles=nCircles; |
Metadata
Metadata
Assignees
Labels
No labels