Commit 3986e54
committed
perf: avoid duplicate soft weight clearing
Let the model update hook own clearing and assigning per-knot soft weights. The core dispatcher now only calls the hook for structural soft models, avoiding a second L1/L2 vector clear before generated soft models run.
Harness: core5+specialist
Scope: solver-core
Evidence: pytest -q tests/minimodel/test_constraints.py tests/minimodel/test_model_safety.py; cmake --build build -j16; ctest --test-dir build --output-on-failure -j16; nmpc-bench race_cars fixed-binary A/B in /tmp/nmpc-bench-commit3-race-repeat/summary.csv; git diff --check1 parent d37c3e1 commit 3986e54
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
0 commit comments