Open ldworkin opened 7 years ago
See the discussion here: https://github.com/socraticorg/mathsteps/pull/190#discussion_r127018474
Essentially, if we check for args.length > 1 in the isOperator check, some tests involving nthRoots will fail. Why is that? All operator nodes should have at least 2 arguments.
args.length > 1
isOperator
thanks for opening this :D
See the discussion here: https://github.com/socraticorg/mathsteps/pull/190#discussion_r127018474
Essentially, if we check for
args.length > 1
in theisOperator
check, some tests involving nthRoots will fail. Why is that? All operator nodes should have at least 2 arguments.