minor update on findmax

This commit is contained in:
Jonathan Shook 2023-10-13 09:46:21 -05:00
parent 137ce31136
commit cc8d4be719
2 changed files with 0 additions and 6 deletions

View File

@ -99,7 +99,6 @@ public class SC_findmax extends SCBaseScenario {
capture.stopWindow();
journal.record(frameParams,capture.last());
stdout.println(capture.last());
// stdout.println("SUMMARY:" + journal.last());
stdout.println("-".repeat(40));
frameParams = planner.nextStep(journal);
}

View File

@ -73,11 +73,6 @@ public class SimFramePlanner {
journal.last().params().sample_time_ms()
);
}
// if last result was better than the one before it
// increment from settings
// else if the new base would be higher than the initial rate_step
// rebase
// else return null;
SimFrame last = journal.last();
SimFrame before = journal.beforeLast();
if (before.value() < last.value()) { // got a better result, keep on keepin' on