Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Fixed a bug in merge mehotd of fm_predict
Browse files Browse the repository at this point in the history
  • Loading branch information
myui committed Nov 17, 2015
1 parent 2906b38 commit f90a7f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/hivemall/fm/FMPredictGenericUDAF.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ void merge(final double o_ret, @Nullable final Object o_sumVjXj, @Nullable final
Object o2 = sumV2X2OI.getListElement(o_sumV2X2, f);
double d1 = doubleOI.get(o1);
double d2 = doubleOI.get(o2);
sumVjXj[f] = d1;
sumV2X2[f] = d2;
sumVjXj[f] += d1;
sumV2X2[f] += d2;
}
}

Expand Down

0 comments on commit f90a7f2

Please sign in to comment.