Fix value of HoltWinters seasonality param in builder
Should be `type`, not `seasonalityType`
This commit is contained in:
parent
531b894b5d
commit
1504b3d97d
|
@ -470,7 +470,7 @@ public class HoltWintersModel extends MovAvgModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seasonalityType != null) {
|
if (seasonalityType != null) {
|
||||||
builder.field("seasonalityType", seasonalityType);
|
builder.field("type", seasonalityType.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.endObject();
|
builder.endObject();
|
||||||
|
|
Loading…
Reference in New Issue