Skip to content

Commit 4f67054

Browse files
authored
Update nmf.hpp
1 parent 22953f8 commit 4f67054

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/include/RcppML/nmf.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ class nmf {
9696
}
9797

9898
// impose upper maximum limit on NNLS solutions
99-
void upperBound(const double upper_bound) {
100-
upper_bound = upper_bound;
99+
void upperBound(double upperbound) {
100+
upper_bound = upperbound;
101101
}
102102

103103
// GETTERS
@@ -369,4 +369,4 @@ double nmf<Eigen::MatrixXd>::mse_masked() {
369369
};
370370
} // namespace RcppML
371371

372-
#endif
372+
#endif

0 commit comments

Comments
 (0)