Commit 194484f
committed
Ensure allInstances is a row vector in addNode
Added a check to reshape allInstances to a row vector if it is a column. This prevents issues when iterating over instances and ensures consistent behavior in the addNode method.1 parent 434b07b commit 194484f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
| |||
523 | 527 | | |
524 | 528 | | |
525 | 529 | | |
526 | | - | |
527 | 530 | | |
528 | 531 | | |
529 | 532 | | |
| |||
0 commit comments