Commit 77b860c2 authored by breuera's avatar breuera

Removed debug assertion from release mode.

parent 17230405
......@@ -898,12 +898,14 @@ template <typename T> class solver::AugRie: public WavePropagation<T> {
hMiddle = hMiddle - phi/derivativePhi; //Newton step
#ifndef NDEBUG
if (hMiddle < hMin) {
std::cout << phi << std::endl;
std::cout << derivativePhi << std::endl;
std::cerr << "hMiddle(" << hMiddle << ") < hMin(" << hMin << ")" << std::endl;
assert(false);
}
#endif
// if(i == i_maxNumberOfNewtonIterations-1) {
// std::cerr << "Newton-Method did not converge" << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment