fix for discontinuities
fix for discontinuities

AMICI-developer/AMICI,paulstapor/AMICI,paulstapor/AMICI,AMICI-developer/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,paulstapor/AMICI,paulstapor/AMICI