Fix status return logic in process_dynamic_events. ()

This commit is contained in:
jmpenn 2023-09-21 10:16:12 -05:00 committed by GitHub
parent fd260bfc34
commit cdc8927234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,9 +556,8 @@ int Trick::IntegLoopScheduler::process_dynamic_events ( double t_start, double t
if (status != 0) { return status; } if (status != 0) { return status; }
status = process_dynamic_events(t_from, t_to, depth+1); status = process_dynamic_events(t_from, t_to, depth+1);
if (status != 0) { return status; } if (status != 0) { return status; }
} else {
return 0;
} }
return 0;
} }
/** /**