|
@@ -138,7 +138,7 @@ namespace artis {
|
|
|
|
|
|
typename Time::type duration = _dynamics.tau(t);
|
|
|
|
|
|
- assert(ta >= 0);
|
|
|
+ assert(duration >= 0);
|
|
|
|
|
|
type::_tn = type::_tl + duration;
|
|
|
|
|
@@ -267,7 +267,7 @@ namespace artis {
|
|
|
|
|
|
typename Time::type duration = _dynamics.tau(t);
|
|
|
|
|
|
- assert(ta >= 0);
|
|
|
+ assert(duration >= 0);
|
|
|
|
|
|
type::_tl = t;
|
|
|
type::_tn = type::_tl + duration;
|
|
@@ -278,7 +278,7 @@ namespace artis {
|
|
|
|
|
|
typename Time::type duration = _dynamics.tau(t);
|
|
|
|
|
|
- assert(ta >= 0);
|
|
|
+ assert(duration >= 0);
|
|
|
|
|
|
type::_tl = t;
|
|
|
type::_tn = type::_tl + duration;
|