From bc573d108441f94d913e725d9c55c065b7bb3ded Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Tue, 25 Jun 2019 16:14:26 -0700 Subject: [PATCH] #410: util: make tangent method const --- src/vt/termination/interval/discrete_interval.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vt/termination/interval/discrete_interval.h b/src/vt/termination/interval/discrete_interval.h index cb18875534..ada156c8f6 100644 --- a/src/vt/termination/interval/discrete_interval.h +++ b/src/vt/termination/interval/discrete_interval.h @@ -111,7 +111,7 @@ struct Interval { * gap gap */ - PositionEnum tangent(IntervalType const& i, DomainT gap = 1) { + PositionEnum tangent(IntervalType const& i, DomainT gap = 1) const { if (lb_ == i.ub_ + gap) { return PositionEnum::TangentLeft; } else if (ub_ == i.lb_ - gap) {