From 75eacb93562bb46ce90d3786220d3e9953993766 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 18 May 2021 15:32:27 +0200 Subject: [PATCH] Fix OsqpEigen::Data::setUpperBound error message --- src/Data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data.cpp b/src/Data.cpp index 56aaa01..e6afbe7 100644 --- a/src/Data.cpp +++ b/src/Data.cpp @@ -126,7 +126,7 @@ bool OsqpEigen::Data::setLowerBound(Eigen::Ref> upperBound) { if(upperBound.rows() != m_data->m){ - debugStream() << "[OsqpEigen::Data::setLowerBound] The size of the upper bound must be equal to the number of the variables." + debugStream() << "[OsqpEigen::Data::setUpperBound] The size of the upper bound must be equal to the number of the variables." << std::endl; return false; }