Commit 4b9a620
committed
Improve handling of empty prediction stacks in _fate function
- Added checks to ensure that the function handles cases where the prediction stack or time stack is empty, preventing potential errors during calculations.
- Maintained original behavior when stacks are empty, allowing for graceful handling of failed integrations.1 parent 4a86711 commit 4b9a620
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
258 | 259 | | |
259 | | - | |
260 | | - | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | | - | |
263 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
| |||
0 commit comments