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
commit7c9c0a57e90ab37d747f7fa210cdd3b81fd3f346 (patch)
treea665e082776749c09e6ac746851566558cb26ddd /utils/fast_sparse_vector.h
parent79677b2f20d41f78ce0471a9577c4190a9bdab36 (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