octave: Revert use of auto for octave version before 7

This commit is contained in:
Magne Sjaastad
2024-01-12 16:42:56 +01:00
parent cfff6ac024
commit 9dfe155c5a
4 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ void getActiveCellInfo(int32NDArray& activeCellInfo, const QString &hostName, qu
#if OCTAVE_MAJOR_VERSION > 6
auto internalMatrixData = (qint32*)activeCellInfo.fortran_vec();
#else
auto internalMatrixData = (qint32*)activeCellInfo.fortran_vec()->mex_get_data();
qint32* internalMatrixData = (qint32*)activeCellInfo.fortran_vec()->mex_get_data();
#endif
QStringList errorMessages;