Closed tBuLi closed 1 year ago
Errors of this kind are fairly common, and happen whenever "zero" is involved. Probably related to #28.
def test_something(): alg = Algebra(2) B = alg.bivector(name='B') > res = 2 * (B ^ B) test_kingdon.py:754: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ..\kingdon\multivector.py:360: in gp return self.algebra.gp(self, other) ..\kingdon\operator_dict.py:65: in __call__ return self._call_binary(*mvs) ..\kingdon\operator_dict.py:101: in _call_binary values_out = func(mv1.values(), mv2.values()) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ A = (), B = (2,) def codegen_gp_15_x_1(A, B): > [a, a1, a2, a12] = A E ValueError: not enough values to unpack (expected 4, got 0) <codegen_gp_15_x_1>:2: ValueError
Paste the command(s) you ran and the output. If there was a crash, please include the traceback here.
Description
Errors of this kind are fairly common, and happen whenever "zero" is involved. Probably related to #28.
What I Did