Commit 1e54cb6
authored
fix(abacus): preserve scalar spin-constraint separators (deepmodeling#1022)
Fixes deepmodeling#998.
Emit an explicit `sc 0` token for scalar false constraints and update
the golden fixture that encoded the malformed output.
Tests: `cd tests && python -m unittest test_abacus_stru_dump`
Why existing tests missed it: The golden file was generated from the
buggy output, so the old test institutionalized the defect.
Coding agent: Codex
Codex version: codex-cli 0.144.4
Model: gpt-5.6-sol
Reasoning effort: xhigh
Co-authored-by: njzjz-bot <njzjz.bot@gmail.com>1 parent 27c7a52 commit 1e54cb6
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
806 | 808 | | |
807 | 809 | | |
808 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
0 commit comments