Shadow storage variable with builder variable
All checks were successful
/ test (pull_request) Successful in 2m24s

This commit is contained in:
Aaron Fenyes 2025-04-15 23:49:07 -07:00
parent 4654bf06bf
commit 955220c0bc

View file

@ -422,16 +422,16 @@ impl Assembly {
// set up the constraint problem
let problem = self.elements.with_untracked(|elts| {
let mut problem_to_be = ConstraintProblem::new(elts.len());
let mut problem = ConstraintProblem::new(elts.len());
for (_, elt) in elts {
elt.pose(&mut problem_to_be, elts);
elt.pose(&mut problem, elts);
}
self.regulators.with_untracked(|regs| {
for (_, reg) in regs {
reg.pose(&mut problem_to_be, elts);
reg.pose(&mut problem, elts);
}
});
problem_to_be
problem
});
/* DEBUG */