Segmentation fault ReSolver1d.cc
I got a segmentation fault in these lines in ReSolver1d.cc:
// Prevent degenerate case
if(ainv[i_d]==0. && ainv[i_l]==0. && ainv[i_u]==0.) {
ainv[i_d]=1.;
}
This is because the index i_l or i_u can become out-of-bound. A quick fix was to set const bool AllowSwitchSolver=false
. Still, it has to be investigated a bit further and then fixed.