From 320ff5915ab688cdc9e790c3898f40d6a43f91f9 Mon Sep 17 00:00:00 2001 From: "Penn, John M 047828115" Date: Mon, 22 Feb 2021 17:23:50 -0600 Subject: [PATCH] adaptive_step shoould return next_h, not default_h. #1114 --- trick_source/trick_utils/SAIntegrator/src/SAIntegrator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/trick_utils/SAIntegrator/src/SAIntegrator.cpp b/trick_source/trick_utils/SAIntegrator/src/SAIntegrator.cpp index f1cd4719..d422e5e6 100644 --- a/trick_source/trick_utils/SAIntegrator/src/SAIntegrator.cpp +++ b/trick_source/trick_utils/SAIntegrator/src/SAIntegrator.cpp @@ -683,7 +683,7 @@ double SA::RKF45Integrator::adaptive_step(double h) { } while (R > epsilon); advanceIndyVar(last_h); - return (default_h); + return (next_h); } // Insertion Operator