Commit 2d42caac authored by Alexander Danilov's avatar Alexander Danilov
Browse files

Fix nonconformant code

solver_bcgsl.hpp: jump crosses initialization of 'bool halt'
parent 821a833b
...@@ -625,12 +625,12 @@ namespace INMOST ...@@ -625,12 +625,12 @@ namespace INMOST
#endif #endif
INMOST_DATA_ENUM_TYPE i = 0; INMOST_DATA_ENUM_TYPE i = 0;
bool halt = false;
if( last_resid < atol || last_resid < rtol*resid0 ) if( last_resid < atol || last_resid < rtol*resid0 )
{ {
reason = "initial solution satisfy tolerances"; reason = "initial solution satisfy tolerances";
goto exit; goto exit;
} }
bool halt = false;
#if defined(USE_OMP) #if defined(USE_OMP)
#pragma omp parallel #pragma omp parallel
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment