Ignore:
Timestamp:
07/27/16 17:52:51 (8 years ago)
Author:
Maciej Komosinski
Message:

Explicit casting to integer ("0+x" trick no longer works)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/evolve-speed-vs-gravity/data/scripts/evolve-speed-vs-gravity.script

    r480 r542  
    3333        // So we start another phase where we wait until the single best genotype is evaluated at least min_evaluations times.
    3434        // No new genotypes are introduced in this phase.
    35         UserScripts.script_Find_best_genotype_on_average_args(min_evaluations,"best_%g_%u.expt" % gravity % (0+Math.time));
     35        UserScripts.script_Find_best_genotype_on_average_args(min_evaluations,"best_%g_%u.expt" % gravity % int(Math.time));
    3636}
    3737~
Note: See TracChangeset for help on using the changeset viewer.