Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Sep 9, 2024
2 parents a97fc59 + 7bc93d0 commit eefe5ef
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions premise/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -1496,13 +1496,23 @@ def redefine_loc(e):
),
"minimum": (
exc.get("minimum", 0)
* (exc["amount"] * ratio * share / exc["amount"])
* (
exc["amount"]
* ratio
* share
/ exc["amount"]
)
if "minimum" in exc
else None
),
"maximum": (
exc.get("maximum", 0)
* (exc["amount"] * ratio * share / exc["amount"])
* (
exc["amount"]
* ratio
* share
/ exc["amount"]
)
if "maximum" in exc
else None
),
Expand Down

0 comments on commit eefe5ef

Please sign in to comment.