diff --git a/matlab/ep/homotopic_steps.m b/matlab/ep/homotopic_steps.m index 21d8d31adcf84881bb785feb5ae2363ab13d287f..696b88014b97375f8c9e5a6f6387b8c905e03437 100644 --- a/matlab/ep/homotopic_steps.m +++ b/matlab/ep/homotopic_steps.m @@ -50,7 +50,7 @@ if homotopy_1 end initial_weight = initial_weight/1.1; weight = initial_weight; - if weight<1/4 + if weight<1e-12 homotopy_1 = 0; homotopy_2 = 1; break