Skip to content

Commit

Permalink
Undo of accidental rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenhaahr committed Dec 12, 2024
1 parent 98b6f31 commit 8eb03cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constraint_based_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ impl ValStreamCollection {
}

#[derive(Debug, Default)]
pub struct SyncConstraintBasedRuntime {
pub struct ConstraintBasedRuntime {
store: ConstraintStore,
time: usize,
}

impl SyncConstraintBasedRuntime {
impl ConstraintBasedRuntime {
fn receive_inputs(&mut self, inputs: &BTreeMap<VarName, Value>) {
// Add new input values
for (name, val) in inputs {
Expand Down Expand Up @@ -178,7 +178,7 @@ impl Monitor<LOLASpecification, Value> for ConstraintBasedMonitor {
impl ConstraintBasedMonitor {
fn stream_output_constraints(&mut self) -> BoxStream<'static, ConstraintStore> {
let inputs_stream = mem::take(&mut self.input_streams).into_stream();
let mut runtime_initial = SyncConstraintBasedRuntime::default();
let mut runtime_initial = ConstraintBasedRuntime::default();
runtime_initial.store = model_constraints(self.model.clone());
Box::pin(stream::unfold(
(inputs_stream, runtime_initial),
Expand Down

0 comments on commit 8eb03cd

Please sign in to comment.