From 099da6ca0b2b7c132c2b9fc9ed338e98a0e29419 Mon Sep 17 00:00:00 2001 From: utensil Date: Thu, 9 May 2024 17:25:01 +0800 Subject: [PATCH] Default hint to 0 --- galgebra/metric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galgebra/metric.py b/galgebra/metric.py index c6028f13..e8bd6f4e 100644 --- a/galgebra/metric.py +++ b/galgebra/metric.py @@ -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. """