Commit cea795a
committed
Fix world age issue in BNG parameter parsing
Fixed UndefVarError: `kp1` not defined by avoiding world age issue
when accessing parameter variables from dynamically created module.
- Modified exprs_to_defs() to accept parameters as direct argument
- Replaced getproperty(opmod, psym) with direct parameter lookup
- Updated function call in loadrxnetwork() to pass parameters
Fixes the failing BNG Birth-Death Test in test_nullrxs_odes.jl
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 29ec6da commit cea795a
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | | - | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
0 commit comments