File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ Fresa depends on a number of packages that should be available in any Julia inst
424
424
425
425
#+name: init
426
426
#+begin_src julia :var version=(org-sbe tomlversion)
427
- lastchange = "[2023-04-18 10:56 +0100]"
427
+ lastchange = "[2023-04-27 15:10 +0100]"
428
428
using Dates # for org mode dates
429
429
using LinearAlgebra # for norm function
430
430
using Printf # for formatted output
@@ -1348,7 +1348,9 @@ The *output* of the progress during the search is controlled by the ~output~ opt
1348
1348
if output >= 0
1349
1349
print(stderr, ": $nf@$gen npop $(length(newpop))/$(length(pop))",
1350
1350
archiveelite ? " na=$(length(archive))" : "",
1351
- " most fit z=$(best.z) \r")
1351
+ " most fit ",
1352
+ best.g ≤ 0 ? "z=$(best.z)" : "g=$(best.g)",
1353
+ " \r")
1352
1354
# if output has been requested, check to see if output is
1353
1355
# required now and then also check to see if the frequency
1354
1356
# needs to be reduced.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module Fresa
8
8
9
9
# [[file:../fresa.org::init][init]]
10
10
version = " 8.0.0"
11
- lastchange = " [2023-04-18 10:56 +0100]"
11
+ lastchange = " [2023-04-27 15:10 +0100]"
12
12
using Dates # for org mode dates
13
13
using LinearAlgebra # for norm function
14
14
using Printf # for formatted output
@@ -646,7 +646,9 @@ function solve(f, p0; # required arguments
646
646
if output >= 0
647
647
print (stderr , " : $nf @$gen npop $(length (newpop)) /$(length (pop)) " ,
648
648
archiveelite ? " na=$(length (archive)) " : " " ,
649
- " most fit z=$(best. z) \r " )
649
+ " most fit " ,
650
+ best. g ≤ 0 ? " z=$(best. z) " : " g=$(best. g) " ,
651
+ " \r " )
650
652
# if output has been requested, check to see if output is
651
653
# required now and then also check to see if the frequency
652
654
# needs to be reduced.
You can’t perform that action at this time.
0 commit comments