This commit is contained in:
Filippo Olivo
2025-03-01 12:04:25 +01:00
committed by Nicola Demo
parent 375f7f8e2d
commit d68b51fce3

View File

@@ -308,7 +308,7 @@ class PinaDataModule(LightningDataModule):
if k != "equation"
# Equations are NEVER dataloaded
}
if offset + stage_len > len_condition:
if offset + stage_len >= len_condition:
offset = len_condition - 1
continue
offset += stage_len