Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2013-04-01 22:49:33 +0400
committerU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2013-04-01 22:49:33 +0400
commit83ad7bba0717b3d48899a7bcd11521ff68f8933f (patch)
treefc0153138df47268c43816d7d93e9d81d2ded458 /vowpalwabbit/vw.h
parent4fba51a2f64eff47e47e268710338d50f44e104a (diff)
added C# interface to weights
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r--vowpalwabbit/vw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h
index 0e0e81d5..f2c40d7f 100644
--- a/vowpalwabbit/vw.h
+++ b/vowpalwabbit/vw.h
@@ -82,7 +82,7 @@ namespace VW {
{ return all.reg.weight_vector[(index * all.stride) & all.weight_mask];}
inline uint32_t num_weights(vw& all)
- { return all.length();}
+ { return (uint32_t)all.length();}
}