From f67862c799f911b6671a83b50b22b6a2323855c8 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 3 May 2011 17:30:30 -0400 Subject: mira finished, clean up --- utils/sparse_vector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/sparse_vector.h') diff --git a/utils/sparse_vector.h b/utils/sparse_vector.h index e3721b50..a55436fb 100644 --- a/utils/sparse_vector.h +++ b/utils/sparse_vector.h @@ -42,14 +42,14 @@ BOOST_CLASS_TRACKING(SparseVector,track_never) #include "fast_sparse_vector.h" #define SparseVector FastSparseVector -template -SparseVector operator*(const SparseVector& a, const double& b) { +template +SparseVector operator*(const SparseVector& a, const S& b) { SparseVector result = a; return result *= b; } template -SparseVector operator*(const SparseVector& a, const T& b) { +SparseVector operator*(const SparseVector& a, const double& b) { SparseVector result = a; return result *= b; } -- cgit v1.2.3