mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix broken asserts releaved by Clang.
This commit is contained in:
@@ -573,7 +573,7 @@ void EigenSolver<MatrixType>::doComputeEigenvectors()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
eigen_assert("Internal bug in EigenSolver"); // this should not happen
|
eigen_assert(0 && "Internal bug in EigenSolver"); // this should not happen
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ public:
|
|||||||
normal() = mat * normal();
|
normal() = mat * normal();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
eigen_assert("invalid traits value in Hyperplane::transform()");
|
eigen_assert(0 && "invalid traits value in Hyperplane::transform()");
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user