Skip to content

Commit

Permalink
FIX: typo in simulate
Browse files Browse the repository at this point in the history
  • Loading branch information
halbmy committed Dec 13, 2024
1 parent 4c67f9c commit 230a1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygimli/physics/ert/ert.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def simulate(mesh, scheme, res, **kwargs):

rhoa *= 1. + pg.randn(ret.size(), seed=seed) * ret('err')
ret['rhoa'] = rhoa
if ret.allNoneZero('k'): # also provide r if user changes k later
if ret.allNonZero('k'): # also provide r if user changes k later
ret['r'] = ret['rhoa'] / ret['k']

ipError = None
Expand Down

0 comments on commit 230a1c8

Please sign in to comment.