mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 06:31:47 +08:00
Fix broken asserts releaved by Clang.
This commit is contained in:
parent
bc0fc5d21e
commit
0fa2b394ce
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user