summaryrefslogtreecommitdiff
path: root/utils/weights.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/weights.h')
-rw-r--r--utils/weights.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/weights.h b/utils/weights.h
index 1849f959..cc20283c 100644
--- a/utils/weights.h
+++ b/utils/weights.h
@@ -14,6 +14,7 @@ class Weights {
void InitVector(std::vector<double>* w) const;
void InitSparseVector(SparseVector<double>* w) const;
void InitFromVector(const std::vector<double>& w);
+ void InitFromVector(const SparseVector<double>& w);
private:
std::vector<double> wv_;
};