summaryrefslogtreecommitdiff
path: root/inst/examples/02_design_of_experiments/stk_example_doe04.m
diff options
context:
space:
mode:
Diffstat (limited to 'inst/examples/02_design_of_experiments/stk_example_doe04.m')
-rw-r--r--inst/examples/02_design_of_experiments/stk_example_doe04.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/inst/examples/02_design_of_experiments/stk_example_doe04.m b/inst/examples/02_design_of_experiments/stk_example_doe04.m
index 87434ab..f122224 100644
--- a/inst/examples/02_design_of_experiments/stk_example_doe04.m
+++ b/inst/examples/02_design_of_experiments/stk_example_doe04.m
@@ -23,7 +23,7 @@
% This file is part of
%
% STK: a Small (Matlab/Octave) Toolbox for Kriging
-% (http://sourceforge.net/projects/kriging)
+% (https://github.com/stk-kriging/stk/)
%
% STK is free software: you can redistribute it and/or modify it under
% the terms of the GNU General Public License as published by the Free
@@ -53,7 +53,7 @@ n = 400;
x = stk_sampling_regulargrid (n, DIM, BOX); x.colnames = {'x'};
z = stk_feval (f, x);
-model = stk_model ('stk_materncov52_iso');
+model = stk_model (@stk_materncov52_iso);
model.param = log ([0.1 0.8]);