commit cfd8da5fb0d5bf7d0ab40e304891af0b17569e13
parent 3e9a3f23fe71c11238742659e523f515727f42b1
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 29 Apr 2019 11:10:27 +0200
Discard a path if an error occurs
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdis_realisation_Xd.h b/src/sdis_realisation_Xd.h
@@ -47,7 +47,7 @@ XD(compute_temperature)
#endif
struct sdis_heat_vertex* heat_vtx = NULL;
/* Maximum accepted #failures before stopping the realisation */
- const size_t MAX_FAILS = 10;
+ const size_t MAX_FAILS = 1;
res_T res = RES_OK;
ASSERT(scn && fp_to_meter > 0 && ctx && rwalk && rng && T);