Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
artsiomkaltovich committed Dec 21, 2024
1 parent 8240c7f commit 9430aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zython/operations/functions_and_predicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,10 @@ def atanh(x: Union[float, var]) -> Operation:
... def __init__(self):
... self.a = zn.atanh(0)
... self.b = zn.var(float)
... self.constraints = [self.b == zn.atanh(0.5)]
... self.constraints = [self.b == zn.atanh(0.99)]
>>> model = MyModel()
>>> model.solve_satisfy()
Solution(a=0.0, b=0.5493061443340549)
Solution(a=0.0, b=2.646652412362246)
"""
return Operation(_Op_code.atanh, x, type_=float)

Expand Down

0 comments on commit 9430aa9

Please sign in to comment.