You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0cfc9ec
Browse filesBrowse the repository at this point in the historyBrowse files
Refuse norm(v) and beta(x) with one argument, read as products with no error (#2499)
A one-argument call of norm or beta was read as the product of a variable named for it with its
argument: norm([3, 4]) simplified to [3 * norm, 4 * norm], where the length is 5, and beta(x) was
beta * x. Each now throws FunctionArgumentCountException naming what to write: norm(v, 2) for the
length, which is abs(v), and beta(a, b), or norm * (...) and beta * (...) for the product. The
name alone is a variable and with a space before the bracket a product, as the other names
refused by name are. Refused before the grammar, so the grammar is unchanged.
The MCP server's IsFunction now says yes for both, a one-argument call no longer being a
product; kappa takes beta's place in its test, and in the library's test of a short name read
as a product. Syntax.md says both are refused.
Full check: 21112 of 21125 unit tests pass, 13 skipped; MCP 459 of 459; harnesses clean and
the three baselines matched. MathS.Parse throwing for these, as it already does for
factorize(360), is #2498.
Part of #2182
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments