Skip to content

Commit

Permalink
Fix to issue #1385: offputting warnings in the sandbox.
Browse files Browse the repository at this point in the history
  • Loading branch information
sangwinc committed Feb 5, 2025
1 parent 205f8de commit b93f1df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stack/maxima/utils.mac
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ all_ops(%_expr) := block([%_edge, %_next_edge, %_tmp, %_op, %_result],
if safe_op(ex) = "(" and safe_op(first(args(ex))) = "%_E" then return(%_ce_rem(second(args(ex)))),
/* Rather subtle order of evaluation issue. */
ex2:args(ex),
ex2:map(%_ce_rem, ex2),
/* The use of the un-named function below is to avoid a warning in the sandbox. */
ex2:map(lambda([ex3],%_ce_rem(ex3)), ex2),
substpart(op(ex), ex2, 0)
)$
/* We need to compile %_CE_rem so that it is available to lisp as a lisp function. */
Expand Down

0 comments on commit b93f1df

Please sign in to comment.