diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-02-29 01:12:40 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-02-29 01:12:40 -0500 |
commit | 54bcfb835232d190a5ab6f0bd825de8a50dae126 (patch) | |
tree | 161988135be75a47524cdf2efbba7bdf06c9bd65 /utils/maybe_update_bound.h | |
parent | 89238977fc9d8f8d9a6421b0d4f35afc200f08e7 (diff) |
cleanup, mpi-ify lblmodel
Diffstat (limited to 'utils/maybe_update_bound.h')
-rw-r--r-- | 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 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 |