diff options
author | John Langford <jl@hunch.net> | 2013-04-04 17:17:55 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2013-04-04 17:17:55 +0400 |
commit | 069210c045f28c9a22b89967a642037c136d117c (patch) | |
tree | 20e60e049de079e12c1e6d660c399ad879699c5a /vowpalwabbit/vw.h | |
parent | 4fb6068bd0a3db7627108d68c13feaa9a7e2ea84 (diff) |
migrate stride to regressor datastructure
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 25d5f480..4b628895 100644 --- a/vowpalwabbit/vw.h +++ b/vowpalwabbit/vw.h @@ -79,7 +79,7 @@ namespace VW { void finish_example(vw& all, example* ec); inline float get_weight(vw& all, uint32_t index) - { return all.reg.weight_vector[(index * all.stride) & all.reg.weight_mask];} + { return all.reg.weight_vector[(index * all.reg.stride) & all.reg.weight_mask];} inline uint32_t num_weights(vw& all) { return (uint32_t)all.length();} |