Skip to content

Commit

Permalink
fixed right multiplication test
Browse files Browse the repository at this point in the history
  • Loading branch information
hugohadfield committed Jan 14, 2019
1 parent 60b9d69 commit 565f842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_clifford.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import print_function, unicode_literals
from past.builtins import range

from clifford import Cl, randomMV, Frame, get_mult_function, conformalize, grade_obj
from clifford import Cl, randomMV, Frame, get_mult_function, conformalize, grade_obj, val_get_right_gmt_matrix


import numpy as np
Expand Down Expand Up @@ -188,7 +188,7 @@ def test_right_multiplication_matrix(self):
for i in range(1000):
a = layout.randomMV()
b = layout.randomMV()
b_right = val_get_right_gmt_matrix(b, layout.k_list, layout.l_list, layout.m_list,
b_right = val_get_right_gmt_matrix(b.value, layout.k_list, layout.l_list, layout.m_list,
layout.mult_table_vals, layout.gaDims)
res = a*b
res2 = layout.MultiVector(value=b_right@a.value)
Expand Down

0 comments on commit 565f842

Please sign in to comment.