From ec8efba4ee2afde721c3abffe2f476b840c092b3 Mon Sep 17 00:00:00 2001 From: Fruzsina Agocs Date: Wed, 9 Feb 2022 12:33:24 -0500 Subject: [PATCH] Fix #13: set dir of integration to forward even if w,g are not interpolated --- include/solver.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/solver.hpp b/include/solver.hpp index e739b2c..0e17084 100644 --- a/include/solver.hpp +++ b/include/solver.hpp @@ -228,7 +228,7 @@ a_tol, double h_0, const char* full_output){ dodsol.resize(dosize); int docount = 0; auto doit = do_times.begin(); - if(de_sys_->Winterp.sign_ == 1){ + if(de_sys_->Winterp.sign_ == 1 or sign == 1){ for(auto it=dotimes.begin(); it!=dotimes.end(); it++){ *it = *doit; docount++; doit++;