Skip to content

Commit

Permalink
fix: bugfix crash when evaluating feature
Browse files Browse the repository at this point in the history
previous crash when a feature with faults was updated prior
to the faults being updated.
  • Loading branch information
Lachlan Grose committed Nov 12, 2021
1 parent 63ea5ec commit d24f656
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def up_to_date(self,callback=None):
a function that is called when the feature is updated
"""
for f in self.faults:
f.builder.up_to_date(callback=callback)
#has anything changed in the builder since we built the feature? if so update
if self._up_to_date == False:
self.update()
Expand Down

0 comments on commit d24f656

Please sign in to comment.