forked from ROMEO/nexosim
Change method name
This commit is contained in:
parent
beaefe1d9e
commit
922d93bd01
@ -104,7 +104,7 @@ fn main() -> Result<(), SimulationError> {
|
||||
// ----------
|
||||
// Simulation.
|
||||
// ----------
|
||||
simu.step_forever()
|
||||
simu.step_unbounded()
|
||||
});
|
||||
|
||||
// Send data to simulation from outside.
|
||||
|
@ -244,7 +244,7 @@ impl Simulation {
|
||||
///
|
||||
/// This method blocks until all events scheduled have completed. If
|
||||
/// simulation is halted, this method returns without an error.
|
||||
pub fn step_forever(&mut self) -> Result<(), ExecutionError> {
|
||||
pub fn step_unbounded(&mut self) -> Result<(), ExecutionError> {
|
||||
match self.step_until_unchecked(None) {
|
||||
Err(ExecutionError::Halted) => Ok(()),
|
||||
result => result,
|
||||
|
Loading…
x
Reference in New Issue
Block a user