* [#16573](https://bugzilla.scilab.org/16573): `mfile2sci`: Some `axis` conversions were wrong or not reliable.
* [#16586](https://bugzilla.scilab.org/16586): `mfile2sci`: The `prettyprintoutput` flag badly managed appended comments.
* [#16592](https://bugzilla.scilab.org/16592): %i|[], []|%i, %i&[], and []&%i were wrong. %t|%i, %t&%i, and %i&%t were not defined.
-* [#16596](https://bugzilla.scilab.org/16596): Concatenating encoded integers with sparse numeric data was not possible.
+* [#16596](https://bugzilla.scilab.org/16596): Concatenating encoded integers with sparse numeric data was not possible.
+* [#16601](https://bugzilla.scilab.org/16601): libmatio >= 1.5.18 was not supported.
* [#16608](https://bugzilla.scilab.org/16608): `union` did not support input boolean, sparse boolean, nor sparse numerical matrices. The result of `union(complexA, complexB)` was wrongly conjugate.
* [#16609](https://bugzilla.scilab.org/16609): `bitcmp` needed to be upgraded for Scilab 6.
* [#16612](https://bugzilla.scilab.org/16612): Unlike the `.*.` operator, `kron()` was not defined for sparse numeric matrices.
int* itemsRow = new int[pSparse->getRows()];
pSparse->getNbItemByRow(itemsRow);
- int* colIndexes = (int*)MALLOC(sizeof(int) * (pSparse->getRows() + 1));
+#if MATIO_RELEASE_LEVEL < 18
+ mat_int32_t* colIndexes = (mat_int32_t*)MALLOC(sizeof(mat_int32_t) * (pSparse->getRows() + 1));
+#else
+ mat_uint32_t* colIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * (pSparse->getRows() + 1));
+#endif
if (colIndexes == NULL)
{
FREE(sparseData);
colIndexes[K + 1] = colIndexes[K] + itemsRow[K];
}
- int* rowIndexes = (int*)MALLOC(sizeof(int) * nonZeros);
+#if MATIO_RELEASE_LEVEL < 18
+ mat_int32_t* rowIndexes = (mat_int32_t*)MALLOC(sizeof(mat_int32_t) * nonZeros);
+#else
+ mat_uint32_t* rowIndexes = (mat_uint32_t*)MALLOC(sizeof(mat_uint32_t) * nonZeros);
+#endif
if (rowIndexes == NULL)
{
FREE(sparseData);