Skip to content

Commit 0d1d648

Browse files
committed
SparseShape::is_dense() now returns a constexpr.
1 parent 6d57b21 commit 0d1d648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TiledArray/sparse_shape.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ namespace TiledArray {
285285
/// Check density
286286

287287
/// \return true
288-
static bool is_dense() { return false; }
288+
static constexpr bool is_dense() { return false; }
289289

290290
/// Threshold accessor
291291

0 commit comments

Comments
 (0)