Skip to content

Commit

Permalink
divide outside of floor
Browse files Browse the repository at this point in the history
  • Loading branch information
Blunde1 committed Sep 21, 2023
1 parent 6695973 commit bc82ba4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ert/config/gen_kw_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ def trans_derrf(x: float, arg: List[float]) -> float:
_steps
* 0.5
* (1 + math.erf((x + _skew) / (_width * math.sqrt(2.0))))
/ (_steps - 1)
)
) / (_steps - 1)
return _min + y * (_max - _min)

@staticmethod
Expand Down

0 comments on commit bc82ba4

Please sign in to comment.