aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2022-07-21 20:34:01 +0000
committermryouse2022-07-21 20:34:01 +0000
commitc8e3cbb05b63e2bf9dfc215c7552a116e2f99714 (patch)
tree728bc2996755142095723972f51cf6dc5b51519f
parentf459a278783601af03311dfefcedaafb0fecdad6 (diff)
bugfix: give the MF the name of the function
-rw-r--r--neb/std/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/std/core.py b/neb/std/core.py
index 9b660bc..15cb257 100644
--- a/neb/std/core.py
+++ b/neb/std/core.py
@@ -174,7 +174,7 @@ def interpretFunc(symbol, args, env, ns):
mf.register(func)
env.register(name, mf)
else:
- mf = MultiFunction("name")
+ mf = MultiFunction(name)
mf.register(func)
env.register(name, mf)