Bug report
Hifitime 4.3.0 introduced additional checks when creating epochs and when creating durations from time units.
Describe the bug
The analysis engine might encounter this runtime assertion:
assert!(
q.is_finite(),
"Attempted to create a Duration from a non-finite number"
);
thread 'main' (461898) panicked at /home/chris/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hifitime-4.3.0/src/timeunits.rs:305:9:
Attempted to create a Duration from a non-finite number
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: hifitime::timeunits::Unit::const_multiply
3: anise::analysis::utils::adaptive_step_scanner
4: anise::analysis::search::<impl anise::almanac::Almanac>::report_event_arcs
(...)
To Reproduce
Unsure yet... Note that this bug happens without changing any code that was not panicking with hifitime 4.2.6.
Expected behavior
Durations should all be finite!
Bug report
Hifitime 4.3.0 introduced additional checks when creating epochs and when creating durations from time units.
Describe the bug
The analysis engine might encounter this runtime assertion:
To Reproduce
Unsure yet... Note that this bug happens without changing any code that was not panicking with hifitime 4.2.6.
Expected behavior
Durations should all be finite!