Skip to content

Commit

Permalink
Missed a few places for getH
Browse files Browse the repository at this point in the history
  • Loading branch information
william-dawson committed Aug 27, 2024
1 parent e9b0e98 commit 8615653
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UnitTests/test_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def test_multiply_tn(self):
from random import uniform
for param in self.parameters:
matrix1 = param.create_matrix(complex=self.complex)
matrix2 = param.create_matrix(complex=self.complex).H
matrix2 = param.create_matrix(complex=self.complex).getH()
mmwrite(self.file1, matrix1.T)
mmwrite(self.file2, matrix2)
alpha = uniform(1.0, 2.0)
Expand Down Expand Up @@ -310,7 +310,7 @@ def test_multiply_tt(self):
from random import uniform
for param in self.parameters:
matrix1 = param.create_matrix(complex=self.complex)
matrix2 = param.create_matrix(complex=self.complex).H
matrix2 = param.create_matrix(complex=self.complex).getH()
mmwrite(self.file1, matrix1.T)
mmwrite(self.file2, matrix2.T)
alpha = uniform(1.0, 2.0)
Expand Down Expand Up @@ -338,7 +338,7 @@ def test_multiply_zero(self):
from random import uniform
for param in self.parameters:
matrix1 = param.create_matrix(complex=self.complex)
matrix2 = 0 * param.create_matrix(complex=self.complex).H
matrix2 = 0 * param.create_matrix(complex=self.complex).getH()
mmwrite(self.file1, matrix1)
mmwrite(self.file2, matrix2)
alpha = uniform(1.0, 2.0)
Expand Down Expand Up @@ -443,7 +443,7 @@ def test_conjugatetranspose(self):
matrix2T.Conjugate()
matrix2T.WriteToMatrixMarket(self.file2)

CheckMat = matrix1.H
CheckMat = matrix1.getH()
ResultMat = mmread(self.file2)
self._compare_mat(CheckMat, ResultMat)

Expand Down

0 comments on commit 8615653

Please sign in to comment.