Skip to content

Commit

Permalink
#410: util: make tangent method const
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Jun 25, 2019
1 parent 92e3719 commit bc573d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/termination/interval/discrete_interval.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bc573d1

Please sign in to comment.