@@ -48,7 +48,7 @@ function bootstrap(
4848 engine = :Optim ,
4949 parallel = false ,
5050 fit_kwargs = Dict (),
51- replace_kwargs = Dict ()
51+ replace_kwargs = Dict (),
5252)
5353 # access data and convert to matrix
5454 data = prepare_data_bootstrap (data, fitted. model)
@@ -121,7 +121,8 @@ function bootstrap(
121121 :n_boot => n_boot,
122122 :n_converged => sum (conv),
123123 :converged => conv,
124- :n_errored => n_failed[])
124+ :n_errored => n_failed[],
125+ )
125126end
126127
127128"""
@@ -171,7 +172,7 @@ function se_bootstrap(
171172 engine = :Optim ,
172173 parallel = false ,
173174 fit_kwargs = Dict (),
174- replace_kwargs = Dict ()
175+ replace_kwargs = Dict (),
175176)
176177 # access data and convert to matrix
177178 data = prepare_data_bootstrap (data, fitted. model)
@@ -196,7 +197,7 @@ function se_bootstrap(
196197 sol = solution (new_fit)
197198 conv = converged (new_fit)
198199 if conv
199- n_conv[] += 1
200+ n_conv[] += 1
200201 @. total_sum += sol
201202 @. total_squared_sum += sol^ 2
202203 end
@@ -228,7 +229,7 @@ function se_bootstrap(
228229 conv = converged (new_fit)
229230 if conv
230231 lock (lk) do
231- n_conv[] += 1
232+ n_conv[] += 1
232233 @. total_sum += sol
233234 @. total_squared_sum += sol^ 2
234235 end
0 commit comments