Skip to content

Commit 35bc0ab

Browse files
committed
Update patch to fix missing semicolon.
1 parent 32e086b commit 35bc0ab

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

hdf5_filename.patch

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--- mlpack-4.6.1/src/mlpack/core/data/utilities.hpp 2025-05-14 14:48:05.000000000 -0400
2-
+++ mlpack-4.6.1-new/src/mlpack/core/data/utilities.hpp 2025-05-15 09:59:41.590371158 -0400
2+
+++ mlpack-4.6.1-new/src/mlpack/core/data/utilities.hpp 2025-05-15 20:12:52.783072026 -0400
33
@@ -134,6 +134,7 @@
44
template<typename MatType, typename DataOptionsType>
55
bool SaveMatrix(const MatType& matrix,
@@ -8,6 +8,15 @@
88
std::fstream& stream)
99
{
1010
bool success = false;
11+
@@ -141,7 +142,7 @@
12+
{
13+
#ifdef ARMA_USE_HDF5
14+
// We can't save with streams for HDF5.
15+
- success = matrix.save(filename, ToArmaFileType(opts.Format()))
16+
+ success = matrix.save(filename, ToArmaFileType(opts.Format()));
17+
#endif
18+
}
19+
else
1120
--- mlpack-4.6.1/src/mlpack/core/data/save_impl.hpp 2025-05-14 14:48:05.000000000 -0400
1221
+++ mlpack-4.6.1-new/src/mlpack/core/data/save_impl.hpp 2025-05-15 09:59:41.590371158 -0400
1322
@@ -135,21 +135,21 @@

0 commit comments

Comments
 (0)