Skip to content

Commit 39a91ec

Browse files
committed
fix: run interpolator before trying to create vtk object
1 parent 3403259 commit 39a91ec

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

LoopStructural/interpolators/_discrete_interpolator.py

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

758758
def vtk(self):
759+
if self.up_to_date is False:
760+
self.update()
759761
return self.support.vtk({'c': self.c})

0 commit comments

Comments
 (0)