Skip to content

Commit

Permalink
Removing throw/warning message displayed by matrix.h
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgribel committed Mar 1, 2019
1 parent a24f367 commit 9abde13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dlib-master/dlib/matrix/matrix.h
Expand Up @@ -1605,12 +1605,12 @@ namespace dlib

literal_assign_helper(const literal_assign_helper& item) : m(item.m), r(item.r), c(item.c), has_been_used(false) {}
explicit literal_assign_helper(matrix* m_): m(m_), r(0), c(0),has_been_used(false) {next();}
~literal_assign_helper() throw (std::exception)
{
DLIB_CASSERT(!has_been_used || r == m->nr(),
"You have used the matrix comma based assignment incorrectly by failing to\n"
"supply a full set of values for every element of a matrix object.\n");
}
// ~literal_assign_helper() throw (std::exception)
// {
// DLIB_CASSERT(!has_been_used || r == m->nr(),
// "You have used the matrix comma based assignment incorrectly by failing to\n"
// "supply a full set of values for every element of a matrix object.\n");
// }

const literal_assign_helper& operator, (
const T& val
Expand Down

0 comments on commit 9abde13

Please sign in to comment.