mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Replace the ASSERT and ASSERT2 macros by assert
This commit is contained in:
@@ -473,7 +473,7 @@ public:
|
||||
}
|
||||
int operator[](const int i) const
|
||||
{
|
||||
ASSERT(i >= 0 && i < num_);
|
||||
assert(i >= 0 && i < num_);
|
||||
return start_ + i*stride_;
|
||||
}
|
||||
int size() const
|
||||
@@ -503,17 +503,17 @@ public:
|
||||
}
|
||||
bool operator<(const SpanIterator& rhs) const
|
||||
{
|
||||
ASSERT(span_ == rhs.span_);
|
||||
assert(span_ == rhs.span_);
|
||||
return index_ < rhs.index_;
|
||||
}
|
||||
bool operator==(const SpanIterator& rhs) const
|
||||
{
|
||||
ASSERT(span_ == rhs.span_);
|
||||
assert(span_ == rhs.span_);
|
||||
return index_ == rhs.index_;
|
||||
}
|
||||
bool operator!=(const SpanIterator& rhs) const
|
||||
{
|
||||
ASSERT(span_ == rhs.span_);
|
||||
assert(span_ == rhs.span_);
|
||||
return index_ != rhs.index_;
|
||||
}
|
||||
int operator*()
|
||||
|
||||
Reference in New Issue
Block a user