2
$\begingroup$

Just for fun I downloaded and installed the NCAlgebra package. However upon running the NCTEST suite I got the following right off the bat:

SUMMARY OF TESTS

  • 22 files tested.
  • 1822 tests completed in 2.81575 seconds.
  • 1819 succeeded.
  • 3 failed.

SetCommutingOperators::AlreadyDefined: Symbols y and x were already defined commutative. Replacing existing rule.

TagUnset::norep: Assignment on y for NonCommutativeMultiplyPrivatec___yx**NonCommutativeMultiplyPrivated___ not found.

TagUnset::norep: Assignment on x for NonCommutativeMultiplyPrivatec___yx**NonCommutativeMultiplyPrivated___ not found.

  • Test #120 failed. Result:

    True

    differs from correct answer:

    False

  • Test #121 failed. Result:

    True

    differs from correct answer:

    False

SetCommutingOperators::AlreadyDefined: Symbols y and x were already defined commutative. Replacing existing rule.

TagUnset::norep: Assignment on y for NonCommutativeMultiplyPrivatec___yx**NonCommutativeMultiplyPrivated___ not found.

General::stop: Further output of TagUnset::norep will be suppressed during this calculation.

  • Test #130 failed. Result:

    True

    differs from correct answer:

    False

END NCTEST

EVEN IF ALL THE TESTS SUCCEEDED YOU SHOULD QUIT THE KERNEL

IN YOUR MATHEMATICA SESSION AND START OVER.

Is anyone on here familiar with this package? And if so am I getting something others see or not?

$\endgroup$
2

1 Answer 1

0
$\begingroup$

My guess is you did not had a clean kernel when you ran the test. The complaint about x and y already been defined is a teller. Please quit the kernel before running the tests.

$\endgroup$
9
  • $\begingroup$ Hi, I thought that but I had quit the kernel before running the tests. And I just a few minutes ago tried again - it failed the same way. $\endgroup$
    – 1729taxi
    Feb 5, 2022 at 22:10
  • $\begingroup$ What version Mathematica and OS? $\endgroup$ Feb 6, 2022 at 1:05
  • $\begingroup$ I was thinking this might be along the lines of the problem. $Version gives "13.0.0 for Mac OS X ARM (64-bit) (December 3, 2021)" $\endgroup$
    – 1729taxi
    Feb 6, 2022 at 19:37
  • $\begingroup$ I have download v.13.0.0 of Mathematica and I cannot reproduce your testing results. I still think you do not have a clean Kernel. Do you have anything on init.m or other initialization files? What happens when you type ? x before running the tests? If you still have the issue please submit a detailed report on the github repo. github.com/NCAlgebra/NC/issues $\endgroup$ Feb 8, 2022 at 5:07
  • $\begingroup$ I do have a clean kernel. But are you running on a Apple Silicon Mac? ? x gives Missing["UnknownSymbol", "x"] before the test. After the tests it gives HoldPattern[CommutativeQ[x]] ^= False $\endgroup$
    – 1729taxi
    Feb 8, 2022 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.