|
@@ -45,7 +45,7 @@ public class TacticsAndLRModelScoreRankService {
|
|
|
|
|
|
private double calcDirectionScore(AdRankItem adRankItem, AdDirectionScore adDirectionScore) {
|
|
|
if (Objects.isNull(adDirectionScore)) {
|
|
|
- adRankItem.getScoreMap().put("adDirectionScore", 1);
|
|
|
+ adRankItem.getScoreMap().put("adDirectionScore", 1.0);
|
|
|
adRankItem.setAdDirectionScore(1);
|
|
|
return 1;
|
|
|
}
|