Skip to content
Snippets Groups Projects
Commit 04a7fa99 authored by Elias Pipping's avatar Elias Pipping
Browse files

Comment out unused code to squelch a warning

parent 03c66a51
No related branches found
No related tags found
No related merge requests found
......@@ -67,9 +67,7 @@ inline void ProjectedGradientStep<MatrixType, VectorType>::computeGeneralizedCP(
// Check if we really have a local minimum in this segment
if (localMin < 0) {
field_type min = computeEnergy(*mat_,cauchyPoint,*rhs_);
//field_type min = computeEnergy(*mat_,cauchyPoint,*rhs_);
//std::cout<<"Generalized Cauchy Point "<<min<<" at previous breakpoint "<<oldBreakPoint<<std::endl;
*this->x_ = cauchyPoint;
......@@ -79,10 +77,9 @@ inline void ProjectedGradientStep<MatrixType, VectorType>::computeGeneralizedCP(
} else if (localMin<=(bP-oldBreakPoint)) {
cauchyPoint.axpy(localMin,projGrad);
field_type min = computeEnergy(*mat_,cauchyPoint,*rhs_);
// std::cout<<"Generalized Cauchy Point found "<<min<<" at local min "<<localMin
// <<" BP "<<bP+localMin<<std::endl;
//field_type min = computeEnergy(*mat_,cauchyPoint,*rhs_);
//std::cout<<"Generalized Cauchy Point found "<<min<<" at local min "<<localMin
// <<" BP "<<bP+localMin<<std::endl;
*this->x_ = cauchyPoint;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment