Skip to content
Snippets Groups Projects
Commit fa321c14 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix missing return in SlurmWrapper

parent 55856098
Branches
No related tags found
No related merge requests found
......@@ -17,10 +17,12 @@ private:
int m_slurm_job_id = -1;
public:
bool mustStop() const
bool
mustStop() const
{
if (m_slurm_job_id == -1) {
false;
return false;
} else {
return slurm_get_rem_time(m_slurm_job_id) < 150;
}
......@@ -72,7 +74,6 @@ stop()
#endif // PUGS_HAS_SLURM
}
parallel::broadcast(stop, 0);
return stop;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment