Skip to content

Commit

Permalink
GH-15809: fix reading new parameter in MOJO load
Browse files Browse the repository at this point in the history
  • Loading branch information
syzonyuliia-h2o committed Feb 1, 2024
1 parent df8ef78 commit 4bbabef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected void readModelData() throws IOException {

_model._beta = readkv("beta");
_model._family = readkv("family");
_model._dispersion_estimated = readkv("dispersion_estimated");
_model._dispersion_estimated = readkv("dispersion_estimated", 1);

if (_model instanceof GlmMojoModel) {
GlmMojoModel m = (GlmMojoModel) _model;
Expand Down

0 comments on commit 4bbabef

Please sign in to comment.