core: Fix MatrixArray::HermitianTranspose

This commit is contained in:
Biljana Bojovic
2023-03-24 11:58:30 +01:00
committed by Biljana B
parent 1b25eee622
commit 0028ae845e

View File

@@ -224,7 +224,7 @@ MatrixArray<T>::HermitianTranspose() const
for (size_t index = 0; index < this->GetSize(); ++index)
{
retMatrix[index] = std::conj(m_values[index]);
retMatrix.m_values[index] = std::conj(retMatrix.m_values[index]);
}
return retMatrix;
}