summaryrefslogtreecommitdiff
path: root/utils/fast_sparse_vector.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-05-04 11:41:24 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-05-04 11:41:24 -0400
commitd717cb892837be3d22f2799b185f620658dff5e5 (patch)
tree8402d475328c9b32d96062d31c907347e79f29fa /utils/fast_sparse_vector.h
parent6039505d6b44fdfd365ea876b9c2380513bec10d (diff)
remove compile-time size assert
Diffstat (limited to 'utils/fast_sparse_vector.h')
-rw-r--r--utils/fast_sparse_vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/fast_sparse_vector.h b/utils/fast_sparse_vector.h
index 8d381b60..4aae2039 100644
--- a/utils/fast_sparse_vector.h
+++ b/utils/fast_sparse_vector.h
@@ -361,10 +361,12 @@ std::size_t hash_value(FastSparseVector<T> const& x) {
return 0;
}
+#if 0
namespace performance_checks {
// if you get a failure on the next line, you should adjust LOCAL_MAX for
// your architecture
BOOST_STATIC_ASSERT(sizeof(FastSparseVector<float>) == L2_CACHE_LINE);
};
+#endif
#endif