1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Alastair McKinstry <mckinstry@debian.org>
Description: constexpr needed in g++6 (c++11)
Last-Updated: 2016-09-13
Forwarded: no
Bug-Origin: https://bugs.debian.org/812036
Index: mpqc-2.3.1/src/lib/chemistry/qc/mbptr12/transform_tbint.h
===================================================================
--- mpqc-2.3.1.orig/src/lib/chemistry/qc/mbptr12/transform_tbint.h
+++ mpqc-2.3.1/src/lib/chemistry/qc/mbptr12/transform_tbint.h
@@ -61,7 +61,7 @@ class TwoBodyMOIntsTransform : virtual p
protected:
/** By default, integrals smaller than zero_integral are considered zero.
This constant is only used in checking integrals, not computing them. */
- static const double zero_integral = 1.0e-12;
+ static constexpr double zero_integral = 1.0e-12;
/// Predefined enumerated type for the MO spaces
typedef struct {
enum {Space1, Space2, Space3, Space4};
|