aboutsummaryrefslogtreecommitdiffstats
path: root/src/jaulibs/dblmenge.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-11-11 02:15:37 +0100
committerSven Gothel <[email protected]>2022-11-11 02:15:37 +0100
commit485df55b7b0a65b0dd195a933ecafbc910e65e8f (patch)
tree3b85b65bfc35bf34b0378ada9935c0103a68c2a9 /src/jaulibs/dblmenge.cpp
parente499976bec9779f63667c568d2938b441e634845 (diff)
Cleanup #3: Align Liste<> for std::vector<>; Misc fixes related to Liste<> usage
Misc fixes related to Liste<> usage - Splicing() size_type erase loop - Translocation() 'save' was stored in reverse order
Diffstat (limited to 'src/jaulibs/dblmenge.cpp')
-rw-r--r--src/jaulibs/dblmenge.cpp2
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) ) {