octave: Revert use of auto for octave version before 7

This commit is contained in:
Magne Sjaastad committed 2024-01-12 16:43:19 +01:00
1 parent cfff6ac024
commit 9dfe155c5a
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ void getSelectedCells(int32NDArray& selectedCellInfo, const QString &hostName, q
#if OCTAVE_MAJOR_VERSION > 6
auto internalMatrixData = (qint32*)selectedCellInfo.fortran_vec();
#else
auto internalMatrixData = (qint32*)selectedCellInfo.fortran_vec()->mex_get_data();
qint32* internalMatrixData = (qint32*)selectedCellInfo.fortran_vec()->mex_get_data();
#endif
QStringList errorMessages;