Skip to content

Commit 8615653

Browse files
Missed a few places for getH
1 parent e9b0e98 commit 8615653

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UnitTests/test_matrix.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def test_multiply_tn(self):
282282
from random import uniform
283283
for param in self.parameters:
284284
matrix1 = param.create_matrix(complex=self.complex)
285-
matrix2 = param.create_matrix(complex=self.complex).H
285+
matrix2 = param.create_matrix(complex=self.complex).getH()
286286
mmwrite(self.file1, matrix1.T)
287287
mmwrite(self.file2, matrix2)
288288
alpha = uniform(1.0, 2.0)
@@ -310,7 +310,7 @@ def test_multiply_tt(self):
310310
from random import uniform
311311
for param in self.parameters:
312312
matrix1 = param.create_matrix(complex=self.complex)
313-
matrix2 = param.create_matrix(complex=self.complex).H
313+
matrix2 = param.create_matrix(complex=self.complex).getH()
314314
mmwrite(self.file1, matrix1.T)
315315
mmwrite(self.file2, matrix2.T)
316316
alpha = uniform(1.0, 2.0)
@@ -338,7 +338,7 @@ def test_multiply_zero(self):
338338
from random import uniform
339339
for param in self.parameters:
340340
matrix1 = param.create_matrix(complex=self.complex)
341-
matrix2 = 0 * param.create_matrix(complex=self.complex).H
341+
matrix2 = 0 * param.create_matrix(complex=self.complex).getH()
342342
mmwrite(self.file1, matrix1)
343343
mmwrite(self.file2, matrix2)
344344
alpha = uniform(1.0, 2.0)
@@ -443,7 +443,7 @@ def test_conjugatetranspose(self):
443443
matrix2T.Conjugate()
444444
matrix2T.WriteToMatrixMarket(self.file2)
445445

446-
CheckMat = matrix1.H
446+
CheckMat = matrix1.getH()
447447
ResultMat = mmread(self.file2)
448448
self._compare_mat(CheckMat, ResultMat)
449449

0 commit comments

Comments
 (0)