From a9f3557648135eca0766a51baddf7d39a22a6e01 Mon Sep 17 00:00:00 2001
From: hbui <hong-phuc.bui@htwsaar.de>
Date: Wed, 24 Jul 2024 15:40:46 +0200
Subject: [PATCH] neue Gestaltung
---
num-int/src/numint/expression_transformer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/num-int/src/numint/expression_transformer.py b/num-int/src/numint/expression_transformer.py
index dc25c6a..2873c5b 100644
--- a/num-int/src/numint/expression_transformer.py
+++ b/num-int/src/numint/expression_transformer.py
@@ -38,7 +38,7 @@
elif hasattr(math, id):
return f"math.{id}"
else:
- raise ValueError(f"{id} must be 'x' one of constants in math module")
+ raise ValueError(f"Variable must be 'x' one of constants in math module, got {id}")
def function(self, name, argv) -> str:
if hasattr(math, name):
--
Gitblit v1.10.0