- 12 Dec, 2019 1 commit
-
-
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.
-
- 01 Jun, 2019 1 commit
-
-
peastman authored
-
- 25 Jul, 2016 1 commit
-
-
peastman authored
-
- 10 Jul, 2014 2 commits
-
-
Christopher Dembia authored
-
Christopher Dembia authored
-
- 16 Jun, 2014 1 commit
-
-
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.
-
- 16 Oct, 2013 1 commit
-
-
peastman authored
-
- 19 Sep, 2011 1 commit
-
-
Peter Eastman authored
-
- 10 Dec, 2009 1 commit
-
-
Peter Eastman authored
-
- 24 Nov, 2009 1 commit
-
-
Peter Eastman authored
-
- 23 Nov, 2009 1 commit
-
-
Peter Eastman authored
-
- 20 Nov, 2009 1 commit
-
-
Peter Eastman authored
-
- 02 Nov, 2009 1 commit
-
-
Peter Eastman authored
-
- 30 Oct, 2009 1 commit
-
-
Peter Eastman authored
-
- 18 Aug, 2009 1 commit
-
-
Peter Eastman authored
-
- 12 Aug, 2009 1 commit
-
-
Peter Eastman authored
Lots of new optimizations in ParsedExpression.optimize(). Also optimized CUDA evaluation of expressions.
-
- 06 Aug, 2009 1 commit
-
-
Peter Eastman authored
-
- 28 Jul, 2009 1 commit
-
-
Peter Eastman authored
-
- 25 Jul, 2009 1 commit
-
-
Peter Eastman authored
-
- 24 Jul, 2009 1 commit
-
-
Peter Eastman authored
-
- 23 Jul, 2009 3 commits
-
-
Peter Eastman authored
-
Peter Eastman authored
-
Peter Eastman authored
-
- 14 Jul, 2009 1 commit
-
-
Peter Eastman authored
-
- 10 Jul, 2009 1 commit
-
-
Peter Eastman authored
-
- 23 Jun, 2009 1 commit
-
-
Peter Eastman authored
-
- 22 Apr, 2009 1 commit
-
-
Peter Eastman authored
-
- 21 Apr, 2009 1 commit
-
-
Peter Eastman authored
-
- 23 Jun, 2008 1 commit
-
-
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
-
- 04 Jun, 2008 1 commit
-
-
Peter Eastman authored
-
- 19 Apr, 2008 1 commit
-
-
Peter Eastman authored
-
- 18 Apr, 2008 1 commit
-
-
Peter Eastman authored
-
- 16 Apr, 2008 1 commit
-
-
Peter Eastman authored
-