Skip to content

Commit b230152

Browse files
committed
fix: run interpolator before trying to create vtk object
1 parent 6a5ee85 commit b230152

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LoopStructural/interpolators/_discrete_interpolator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,4 +755,6 @@ def to_dict(self):
755755
}
756756

757757
def vtk(self):
758+
if self.up_to_date is False:
759+
self.update()
758760
return self.support.vtk({'c': self.c})

0 commit comments

Comments
 (0)