Fix bug (#465)
This commit is contained in:
committed by
Nicola Demo
parent
375f7f8e2d
commit
d68b51fce3
@@ -308,7 +308,7 @@ class PinaDataModule(LightningDataModule):
|
|||||||
if k != "equation"
|
if k != "equation"
|
||||||
# Equations are NEVER dataloaded
|
# Equations are NEVER dataloaded
|
||||||
}
|
}
|
||||||
if offset + stage_len > len_condition:
|
if offset + stage_len >= len_condition:
|
||||||
offset = len_condition - 1
|
offset = len_condition - 1
|
||||||
continue
|
continue
|
||||||
offset += stage_len
|
offset += stage_len
|
||||||
|
|||||||
Reference in New Issue
Block a user