diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bad596a13f59716282e78313b2e60f10a43f2a9..4c686ab8f2c2c1952f961bd44801d8117ca9bf0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,6 @@ SET (${PROJECT_NAME}_HEADERS include/hpp/statistics/fwd.hh include/hpp/statistics/bin.hh include/hpp/statistics/success-bin.hh - include/hpp/statistics/operators.hh include/hpp/statistics/distribution.hh ) diff --git a/include/hpp/statistics/bin.hh b/include/hpp/statistics/bin.hh index 4e5aa374392b8cd9d9c01edd2c246a40b74881de..c738731666fc0d1871c3f7123808d73b691e5857 100644 --- a/include/hpp/statistics/bin.hh +++ b/include/hpp/statistics/bin.hh @@ -143,7 +143,7 @@ namespace hpp { namespace hpp { namespace statistics { template < typename T > - void Statistics <T>::increment (T& b) + void Statistics <T>::increment (T& b) { b++; std::pair< iterator, bool > it = bins_.insert (b); @@ -158,7 +158,7 @@ namespace hpp { } template < typename T > - size_t Statistics <T>::freq (const T& b) const + size_t Statistics <T>::freq (const T& b) const { typename std::set< T >::iterator it = bins_.find (b); if (it == bins_.end ()) { @@ -168,7 +168,7 @@ namespace hpp { } template < typename T > - Proba_t Statistics <T>::relativeFreq (const T& b) const + Proba_t Statistics <T>::relativeFreq (const T& b) const { typename std::set< T >::iterator it = bins_.find (b); if (it == bins_.end ()) { @@ -182,7 +182,7 @@ namespace hpp { {} template < typename T > - std::ostream& Statistics<T>::print (std::ostream& os) const + std::ostream& Statistics<T>::print (std::ostream& os) const { const_iterator it; for (it = begin(); it != end(); it++) { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 83c16fca4753e6b2f90987e75eee17b52a3c36e6..25283c7488cf5b2bc83fb27eaffc750c00852cec 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -22,7 +22,6 @@ SET(LIBRARY_NAME ${PROJECT_NAME}) ADD_LIBRARY(${LIBRARY_NAME} SHARED bin.cc success-bin.cc - operators.cc ) INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION lib) diff --git a/tests/test-successstatistics.cc b/tests/test-successstatistics.cc index 594cb5964af780c74e8ab4a44f41eed80914efb6..1f3826d177700cdc70b4e635f0e3aab9255bb22e 100644 --- a/tests/test-successstatistics.cc +++ b/tests/test-successstatistics.cc @@ -19,7 +19,6 @@ #include <iostream> #include "hpp/statistics/success-bin.hh" -#include "hpp/statistics/operators.hh" HPP_DEFINE_REASON_FAILURE (REASON_TEST, "Fake reason for testing purpose");