aboutsummaryrefslogtreecommitdiff
path: root/src/crs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crs.cpp')
-rw-r--r--src/crs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crs.cpp b/src/crs.cpp
index 40a8e2e1..10bec815 100644
--- a/src/crs.cpp
+++ b/src/crs.cpp
@@ -3806,12 +3806,13 @@ bool BoundCRS::_isEquivalentTo(const util::IComparable *other,
!ObjectUsage::_isEquivalentTo(other, criterion))) {
return false;
}
+ const auto standardCriterion = getStandardCriterion(criterion);
return d->baseCRS_->_isEquivalentTo(otherBoundCRS->d->baseCRS_.get(),
criterion) &&
d->hubCRS_->_isEquivalentTo(otherBoundCRS->d->hubCRS_.get(),
criterion) &&
d->transformation_->_isEquivalentTo(
- otherBoundCRS->d->transformation_.get(), criterion);
+ otherBoundCRS->d->transformation_.get(), standardCriterion);
}
// ---------------------------------------------------------------------------