From 280987189c82f86b2fad93d00325e22d3fd75079 Mon Sep 17 00:00:00 2001 From: Matthew Parno Date: Wed, 18 Oct 2023 14:00:25 -0400 Subject: [PATCH] Cleaning up unnecessary comments. --- MParT/MonotoneComponent.h | 157 +------------------------------------- 1 file changed, 1 insertion(+), 156 deletions(-) diff --git a/MParT/MonotoneComponent.h b/MParT/MonotoneComponent.h index aa7744fb..d5fab1d5 100644 --- a/MParT/MonotoneComponent.h +++ b/MParT/MonotoneComponent.h @@ -312,16 +312,6 @@ class MonotoneComponent : public ConditionalMapBase StridedVector output, std::map options=std::map()) { - // std::cout << "xs.shape = " << xs.extent(0) << "," << xs.extent(1) << std::endl; - // std::cout << "xs = \n" << std::endl; - // for(unsigned int row=0; row QuadratureType const& quad, ExpansionType const& expansion) { - // std::cout << "pt = " << std::endl; - // for(unsigned int i=0; i integrand(cache, @@ -1006,148 +986,13 @@ class MonotoneComponent : public ConditionalMapBase DerivativeFlags::None); quad.Integrate(workspace, integrand, 0, 1, &output); - // std::cout << "output 1 = " << output << std::endl; - - // Finish filling in the cache for an evaluation of the expansion with x_d=0 - // std::cout << "pt = " << std::endl; - // for(unsigned int i=0; imaxIts) - // ProcAgnosticError::error("InverseSingleBracket: upper bound calculation exceeds maxIts"); - // } - - // assert(ylb0)?1.0:-1.0; // sign(xb-xf) - // delta = fmin(k1*pow((xub-xlb), k2), fabs(xb-xf)); - - // xf += delta*sigma; - - // rho = fmin(xtol*pow(2.0, nhalf + n0 - it) - 0.5*(xub-xlb), fabs(xf - xb)); - // xc = xb - sigma*rho; - - // yc = EvaluateSingle(workspace, cache, pt, xc, coeffs, quad, expansion); - - // if(abs(yc-yd)yd){ - // mpart::simple_swap(yc,yub); - // mpart::simple_swap(xc,xub); - // }else{ - // mpart::simple_swap(yc,ylb); - // mpart::simple_swap(xc,xlb); - // } - - // // Check for convergence - // if(((xub-xlb)maxIts) - // ProcAgnosticError::error("InverseSingleBracket: Bracket search iterations exceeds maxIts"); - // return 0.5*(xub+xlb); - // } - /** Give access to the underlying FixedMultiIndexSet * @return The FixedMultiIndexSet */