Fix transpose storage order issue

See merge request oss/rotgen!38
This commit is contained in:
Joel Falcou 2025-10-12 23:34:26 +02:00
parent 61121e0eb4
commit 2e7e96bda2
9 changed files with 27 additions and 27 deletions

View file

@ -82,9 +82,9 @@ CLASSNAME CLASSNAME::normalized() const
return result;
}
TRANSCLASSNAME CLASSNAME::transpose() const
CLASSNAME CLASSNAME::transpose() const
{
TRANSCLASSNAME result;
CLASSNAME result;
result.storage()->data = storage_->data.transpose();
return result;
}
@ -96,9 +96,9 @@ CLASSNAME CLASSNAME::conjugate() const
return result;
}
TRANSCLASSNAME CLASSNAME::adjoint() const
CLASSNAME CLASSNAME::adjoint() const
{
TRANSCLASSNAME result;
CLASSNAME result;
result.storage()->data = storage_->data.adjoint();
return result;
}