diff --git a/minus/minus.h b/minus/minus.h index 7fadc68..04b8071 100644 --- a/minus/minus.h +++ b/minus/minus.h @@ -140,10 +140,9 @@ struct minus_core::track_settings { F dt_decrease_factor_; // m2 stepDecreaseFactor not existent in DEFAULT, using what is in track.m2:77 F infinity_threshold_; // m2 InfinityThreshold F infinity_threshold2_; - unsigned max_corr_steps_; // m2 maxCorrSteps (track.m2 param of rawSetParametersPT corresp to max_corr_steps in NAG.cpp) - unsigned num_successes_before_increase_; // m2 numberSuccessesBeforeIncrease - unsigned max_num_steps_; // maximum number of steps per track. - // Each step takes roughly 1 microseconds (tops) + unsigned max_num_steps_; // maximum number of steps per track. Each step takes roughly 1 microseconds (tops) + char num_successes_before_increase_; // m2 numberSuccessesBeforeIncrease + char max_corr_steps_; // m2 maxCorrSteps (track.m2 param of rawSetParametersPT corresp to max_corr_steps in NAG.cpp) }; // Original settings from Tim: Fri Feb 22 12:00:06 -03 2019 Git 0ec3340 // o9 = MutableHashTable{AffinePatches => DynamicPatch } diff --git a/minus/minus.hxx b/minus/minus.hxx index 637c838..9cbbb8f 100644 --- a/minus/minus.hxx +++ b/minus/minus.hxx @@ -141,7 +141,7 @@ track(const track_settings &s, const C s_sols[f::nve*f::nsols], const C pa bool end_zone = false; v::copy(s_s, x0); *t0 = 0; *dt = t_step; - unsigned predictor_successes = 0; + char predictor_successes = 0; // track H(x,t) for t in [0,1] while (t_s->status == PROCESSING @@ -209,7 +209,7 @@ track(const track_settings &s, const C s_sols[f::nve*f::nsols], const C pa vp::add_to_self(x1t1, dxdt); /// CORRECTOR /// - unsigned n_corr_steps = 0; + char n_corr_steps = 0; bool is_successful; do { ++n_corr_steps;