diff options
author | Patrick Simianer <p@simianer.de> | 2012-03-13 09:24:47 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2012-03-13 09:24:47 +0100 |
commit | ef6085e558e26c8819f1735425761103021b6470 (patch) | |
tree | 5cf70e4c48c64d838e1326b5a505c8c4061bff4a /utils/maybe_update_bound.h | |
parent | 10a232656a0c882b3b955d2bcfac138ce11e8a2e (diff) | |
parent | dfbc278c1057555fda9312291c8024049e00b7d8 (diff) |
merge with upstream
Diffstat (limited to 'utils/maybe_update_bound.h')
-rwxr-xr-x | utils/maybe_update_bound.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/utils/maybe_update_bound.h b/utils/maybe_update_bound.h deleted file mode 100755 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 |