Skip to content

Commit ada6e01

Browse files
author
mmatera
committed
fix typo
1 parent c4cc396 commit ada6e01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mathics/core/convert/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def expression_to_callable_and_args(
158158
None
159159
if args is None
160160
else [
161-
CompileArg(compile_arg.name, LLVM_TYPE_TRANSLATION[compile_arg.typ])
161+
CompileArg(compile_arg.name, LLVM_TYPE_TRANSLATION[compile_arg.type])
162162
for compile_arg in args
163163
]
164164
)

mathics/eval/drawing/plot3d_vectorized.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy as np
99

1010
from mathics.builtin.colors.color_internals import convert_color
11-
from mathics.core.convert.lambdify import lambdify_compile as plot_compile
11+
from mathics.core.convert.lambdify import lambdify_compile
1212
from mathics.core.evaluation import Evaluation
1313
from mathics.core.symbols import strip_context
1414
from mathics.core.systemsymbols import SymbolNone, SymbolRGBColor
@@ -39,7 +39,7 @@ def make_plot(plot_options, evaluation: Evaluation, dim: int, is_complex: bool,
3939
# compile the functions
4040
with Timer("compile"):
4141
compiled_functions = [
42-
plot_compile(evaluation, function, names)
42+
lambdify_compile(evaluation, function, names)
4343
for function in plot_options.functions
4444
]
4545

0 commit comments

Comments
 (0)