summaryrefslogtreecommitdiff
path: root/inst/sampling/@stk_sampcrit_eqi/feval.m
diff options
context:
space:
mode:
Diffstat (limited to 'inst/sampling/@stk_sampcrit_eqi/feval.m')
-rw-r--r--inst/sampling/@stk_sampcrit_eqi/feval.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/inst/sampling/@stk_sampcrit_eqi/feval.m b/inst/sampling/@stk_sampcrit_eqi/feval.m
index 5646ed4..57513f1 100644
--- a/inst/sampling/@stk_sampcrit_eqi/feval.m
+++ b/inst/sampling/@stk_sampcrit_eqi/feval.m
@@ -4,7 +4,7 @@
% Copyright Notice
%
-% Copyright (C) 2016, 2017 CentraleSupelec
+% Copyright (C) 2016, 2017, 2020 CentraleSupelec
% Copyright (C) 2016 EDF R&D
%
% Authors: Tom Assouline, Florent Autret & Stefano Duhamel (for EDF R&D)
@@ -15,7 +15,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
@@ -45,7 +45,7 @@ if nargin < 3
if stk_isnoisy (crit.model)
if isa (crit.point_batch_size, 'function_handle')
- n = stk_length (get (crit.model, 'input_data'));
+ n = stk_get_sample_size (crit.model);
pbs = feval (crit.point_batch_size, x, n);
else
pbs = crit.point_batch_size;