Skip to content

Commit

Permalink
fix: fold builder was adding data twice
Browse files Browse the repository at this point in the history
added check to only add data once
  • Loading branch information
Lachlan Grose committed Oct 14, 2021
1 parent d5135c5 commit 770e666
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ def add_data_to_interpolator(self, constrained=False, force_constrained=False, *
-------
"""
if self.data_added == True:
return
# first move the data for the fault
logger.info("Adding %i faults to %s" % (len(self.faults), self.name))
data = self.data.copy()
Expand Down

0 comments on commit 770e666

Please sign in to comment.