From 0d1d648c233ce8120c12e686083f6e7153bf31fc Mon Sep 17 00:00:00 2001 From: justusc Date: Sun, 15 Feb 2015 12:53:55 -0500 Subject: [PATCH] SparseShape::is_dense() now returns a constexpr. --- src/TiledArray/sparse_shape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TiledArray/sparse_shape.h b/src/TiledArray/sparse_shape.h index 4a446fe0e3..457777f02a 100644 --- a/src/TiledArray/sparse_shape.h +++ b/src/TiledArray/sparse_shape.h @@ -285,7 +285,7 @@ namespace TiledArray { /// Check density /// \return true - static bool is_dense() { return false; } + static constexpr bool is_dense() { return false; } /// Threshold accessor