Skip to content

Commit

Permalink
Default hint to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed May 9, 2024
1 parent f53b98a commit 099da6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galgebra/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def collect(A, nc_list):
return C


def abs_with_hint(expr, hint: str) -> Expr:
def abs_with_hint(expr, hint: str = '0') -> Expr:
"""
Heuristics for simplifying the absolute value of an expression with hints.
"""
Expand Down

0 comments on commit 099da6c

Please sign in to comment.