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

Merge branch 'develop' into feature/reconstruction

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