diff options
Diffstat (limited to 'src/engine/Problem.cpp')
-rw-r--r-- | src/engine/Problem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Problem.cpp b/src/engine/Problem.cpp index 5a6485f..c5522e3 100644 --- a/src/engine/Problem.cpp +++ b/src/engine/Problem.cpp @@ -91,7 +91,7 @@ Problem::fitness(const Machine& const_machine) const // FIXME: timing stuff here isn't right at all... static const unsigned ppqn = 19200; - Raul::TimeSlice time(1.0/(double)ppqn, 120); + Raul::TimeSlice time(ppqn, ppqn, 120.0); time.set_slice(TimeStamp(_unit, 0, 0), TimeDuration(_unit, 2*ppqn)); machine.run(time); |