1
0
mirror of synced 2026-01-20 01:55:30 +00:00
Krystine Sherwin 5b317ee03c
sim.cc: Check eval err
Some cells (e.g. $macc_v2) are marked evaluable, but will raise an abort if called with `CellTypes::eval()`.
Instead of falling through to the abort, we can pass a pointer to a boolean to check for errors.
Use said check to catch `CellTypes::eval()` errors and treat them as unevaluable but otherwise continue.
Reflows the series of if checks into `if ... else if ... else` so that we can check for errors and set state in one place.
2025-12-15 12:08:07 +13:00
..
2014-09-01 11:45:47 +02:00
2023-01-11 09:54:19 +01:00
2025-12-15 12:08:07 +13:00