Generalize constraints to observables #48

Merged
glen merged 25 commits from Vectornaut/dyna3:observables_on_main into main 2025-03-10 23:43:25 +00:00
Showing only changes of commit c368a38803 - Show all commits

View file

@ -272,7 +272,7 @@ impl Assembly {
); );
} }
pub fn insert_regulator(&self, regulator: Regulator) { fn insert_regulator(&self, regulator: Regulator) {
let subjects = regulator.subjects; let subjects = regulator.subjects;
let key = self.regulators.update(|regs| regs.insert(regulator)); let key = self.regulators.update(|regs| regs.insert(regulator));
let subject_regulators = self.elements.with( let subject_regulators = self.elements.with(