Skip to content

Commit

Permalink
add feature on learn path
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang committed Oct 13, 2023
1 parent ab4aab1 commit 1828768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vowpalwabbit/core/include/vw/core/gd_predict.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inline void foreach_feature(WeightsT& weights, const VW::features& fs, DataT& da
{
for (const auto& f : fs)
{
VW::weight& w = weights.get(f.index() + offset);
VW::weight& w = weights[f.index() + offset];
FuncT(dat, mult * f.value(), w);
}
}
Expand Down

0 comments on commit 1828768

Please sign in to comment.