diff options
Diffstat (limited to 'src/jaulibs/dblmenge.cpp')
-rw-r--r-- | src/jaulibs/dblmenge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jaulibs/dblmenge.cpp b/src/jaulibs/dblmenge.cpp index 38a9986..f8dde97 100644 --- a/src/jaulibs/dblmenge.cpp +++ b/src/jaulibs/dblmenge.cpp @@ -22,7 +22,7 @@ #include <cmath> #include <limits> -template<> Menge<double>::size_type Menge<double>::istElement(const double& x) +template<> Menge<double>::size_type Menge<double>::indexOf(const double& x) const noexcept { for (size_type i = 0; i < card(); i++) { if( ::fabs( (*this)[i] - x ) < std::numeric_limits<double>::epsilon() * ::fabs(x) ) { |