1. 12 Dec, 2019 1 commit
    • Jérôme Hénin's avatar
      Fix Lepton optimization with -ffast-math · 144fa34a
      Jérôme Hénin authored
      Lepton::ParsedExpression::getConstantValue() used to return NaN to indicate non-constant
      expressions. This can break with -ffast-math optimization where NaN comparisons are
      not defined.
      
      This patch defines bool isConstant() to test whether an expression is constant before
      calling getConstantValue(). getConstantValue() now throws an exception if called on a
      non-constant expression.
      144fa34a
  2. 01 Jun, 2019 1 commit
  3. 25 Jul, 2016 1 commit
  4. 10 Jul, 2014 2 commits
  5. 16 Jun, 2014 1 commit
    • Christopher Dembia's avatar
      Fix Clang warning about unhandled enum values. · debf09a4
      Christopher Dembia authored
      Clang had been generating the following warning:
      
      ```
      ParsedExpression.cpp:123:13:
      warning:
            30 enumeration values not handled in switch: 'CONSTANT', 'VARIABLE',
            'CUSTOM'...
                  [-Wswitch]
                      switch (node.getOperation().getId()) {
                                      ^
                                      1 warning generated.
      ```
      
      To get rid of this warning, I added a default case, which does nothing.
      debf09a4
  6. 16 Oct, 2013 1 commit
  7. 19 Sep, 2011 1 commit
  8. 10 Dec, 2009 1 commit
  9. 24 Nov, 2009 1 commit
  10. 23 Nov, 2009 1 commit
  11. 20 Nov, 2009 1 commit
  12. 02 Nov, 2009 1 commit
  13. 30 Oct, 2009 1 commit
  14. 18 Aug, 2009 1 commit
  15. 12 Aug, 2009 1 commit
  16. 06 Aug, 2009 1 commit
  17. 28 Jul, 2009 1 commit
  18. 25 Jul, 2009 1 commit
  19. 24 Jul, 2009 1 commit
  20. 23 Jul, 2009 3 commits
  21. 14 Jul, 2009 1 commit
  22. 10 Jul, 2009 1 commit
  23. 23 Jun, 2009 1 commit
  24. 22 Apr, 2009 1 commit
  25. 21 Apr, 2009 1 commit
  26. 23 Jun, 2008 1 commit
    • Christopher Bruns's avatar
      Many changes to build OpenMM on Windows: · 90f31a68
      Christopher Bruns authored
      1) Added DLL export macros to many classes; enough to get tests to compile
      2) Cosmetic changes to reduce warnings in Visual Studio:
         a) change many "for (int i ="... to "for (size_t i ="... to avoid unsigned mismatch warnings
         b) included many explicit static_cast<OpenMMReal>() casts to document places where double->float conversion warnings occur
      90f31a68
  27. 04 Jun, 2008 1 commit
  28. 19 Apr, 2008 1 commit
  29. 18 Apr, 2008 1 commit
  30. 16 Apr, 2008 1 commit