Commit 3882575
committed
MNT: wrap initial_liquid_mass and initial_gas_mass with _to_float
Consistent with all other tank-kind fields — these attributes can
be Function objects in RocketPy, so they need the same scalar
extraction to avoid Pydantic validation failures.
Made-with: Cursor1 parent 525fa96 commit 3882575
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
| 286 | + | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments