Skip to content

Commit

Permalink
Try more aggressive np.errstate
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Oct 4, 2023
1 parent c10525e commit 6fbc493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geophires_x/AGSOutputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def PrintOutputs(self, model: Model):
aranged = np.arange(0, len(model.wellbores.ProducedTemperature.value), 1.0)

# FIXME WIP (warn errstate may or may not be appropriate)
with np.errstate(divide='warn'):
with np.errstate(all='ignore'):
model.surfaceplant.NetElectricityProduced.value = f(aranged)

if len(model.surfaceplant.FirstLawEfficiency.value) != len(model.wellbores.ProducedTemperature.value):
Expand Down

0 comments on commit 6fbc493

Please sign in to comment.