summaryrefslogtreecommitdiff
path: root/utils/maybe_update_bound.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/maybe_update_bound.h')
-rw-r--r--utils/maybe_update_bound.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/maybe_update_bound.h b/utils/maybe_update_bound.h
deleted file mode 100644
index d57215d0..00000000
--- a/utils/maybe_update_bound.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef MAYBE_UPDATE_BOUND_H
-#define MAYBE_UPDATE_BOUND_H
-
-template <class To,class From>
-inline void maybe_increase_max(To &to,const From &from) {
- if (to<from)
- to=from;
-}
-
-template <class To,class From>
-inline void maybe_decrease_min(To &to,const From &from) {
- if (from<to)
- to=from;
-}
-
-
-#endif