diff options
| author | Guest_account Guest_account prguest11 <prguest11@taipan.cs> | 2011-10-11 16:16:53 +0100 | 
|---|---|---|
| committer | Guest_account Guest_account prguest11 <prguest11@taipan.cs> | 2011-10-11 16:16:53 +0100 | 
| commit | 0af7d663194beddcde420349bbd91430e0b2e423 (patch) | |
| tree | f79558499f3756757b94267285ccd1418e55b8ea /gi/pf/pfdist.cc | |
| parent | 4671d578bd6d97105ac75b02e0144fe0df3abcb0 (diff) | |
remove implicit conversion-to-double operator from LogVal<T> that caused overflow errors, clean up some pf code
Diffstat (limited to 'gi/pf/pfdist.cc')
| -rw-r--r-- | gi/pf/pfdist.cc | 11 | 
1 files changed, 0 insertions, 11 deletions
diff --git a/gi/pf/pfdist.cc b/gi/pf/pfdist.cc index 18dfd03b..81abd61b 100644 --- a/gi/pf/pfdist.cc +++ b/gi/pf/pfdist.cc @@ -24,17 +24,6 @@ namespace po = boost::program_options;  shared_ptr<MT19937> prng; -size_t hash_value(const TRule& r) { -  size_t h = boost::hash_value(r.e_); -  boost::hash_combine(h, -r.lhs_); -  boost::hash_combine(h, boost::hash_value(r.f_)); -  return h; -} - -bool operator==(const TRule& a, const TRule& b) { -  return (a.lhs_ == b.lhs_ && a.e_ == b.e_ && a.f_ == b.f_); -} -  void InitCommandLine(int argc, char** argv, po::variables_map* conf) {    po::options_description opts("Configuration options");    opts.add_options()  | 
