File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 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,
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 @@
You can’t perform that action at this time.
0 commit comments