diff options
author | U-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com> | 2013-04-01 22:49:33 +0400 |
---|---|---|
committer | U-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com> | 2013-04-01 22:49:33 +0400 |
commit | 83ad7bba0717b3d48899a7bcd11521ff68f8933f (patch) | |
tree | fc0153138df47268c43816d7d93e9d81d2ded458 /vowpalwabbit/vw.h | |
parent | 4fba51a2f64eff47e47e268710338d50f44e104a (diff) |
added C# interface to weights
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r-- | vowpalwabbit/vw.h | 2 |
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();} } |