Hello community, here is the log from the commit of package octave-forge-stk for openSUSE:Factory checked in at 2018-07-28 12:40:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/octave-forge-stk (Old) and /work/SRC/openSUSE:Factory/.octave-forge-stk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-stk" Sat Jul 28 12:40:11 2018 rev:7 rq:624033 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/octave-forge-stk/octave-forge-stk.changes 2017-10-09 19:40:31.655872452 +0200 +++ /work/SRC/openSUSE:Factory/.octave-forge-stk.new/octave-forge-stk.changes 2018-07-28 12:40:11.204400900 +0200 @@ -1,0 +2,8 @@ +Wed Jul 18 08:48:23 UTC 2018 - badshah...@gmail.com + +- Update to version 2.5.1: + * tk_dominatedhv: Workaround for Octave 4.4 issue (ticket #89) + * Documentation fixes. + * stk_option_set: Return option struct only if nargout > 0. + +------------------------------------------------------------------- Old: ---- stk-2.5.0.tar.gz New: ---- stk-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ octave-forge-stk.spec ++++++ --- /var/tmp/diff_new_pack.ZgBIkK/_old 2018-07-28 12:40:11.680401815 +0200 +++ /var/tmp/diff_new_pack.ZgBIkK/_new 2018-07-28 12:40:11.692401837 +0200 @@ -1,7 +1,7 @@ # # spec file for package octave-forge-stk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define octpkg stk Name: octave-forge-%{octpkg} -Version: 2.5.0 +Version: 2.5.1 Release: 0 Summary: Small Octave Toolbox for Kriging -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Scientific/Math Url: http://octave.sourceforge.net Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz ++++++ stk-2.5.0.tar.gz -> stk-2.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/CITATION new/stk/CITATION --- old/stk/CITATION 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/CITATION 2018-06-12 07:22:00.000000000 +0200 @@ -2,7 +2,7 @@ To cite this release of STK in publications use: - Julien Bect, Emmanuel Vazquez and others (2017). + Julien Bect, Emmanuel Vazquez and others (2018). STK: a Small (Matlab/Octave) Toolbox for Kriging. Release 2.5. URL http://kriging.sourceforge.net diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/ChangeLog new/stk/ChangeLog --- old/stk/ChangeLog 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/ChangeLog 2018-06-12 07:22:00.000000000 +0200 @@ -1,3 +1,47 @@ +2018-06-11 Julien Bect <julien.b...@centralesupelec.fr> + + stk_dominatedhv_mex.c: Workaround for Octave 4.4 issue (ticket #89) + + * misc/pareto/private/stk_dominatedhv_mex.c: Workaround for Octave + 4.4 issue (see ticket #54096 on Octave's bug tracker for details). + +2018-03-08 Julien Bect <julien.b...@centralesupelec.fr> + + Write "covariance function" instead of "covariance kernel" in docs. + + * covfcs/stk_expcov_aniso.m: Write "covariance function" instead + of "covariance kernel" in the help text. + * covfcs/stk_materncov32_aniso.m: Idem. + * covfcs/stk_materncov32_iso.m: Idem. + * covfcs/stk_materncov52_aniso.m: Idem. + * covfcs/stk_materncov52_iso.m: Idem. + * covfcs/stk_materncov_aniso.m: Idem. + * covfcs/stk_materncov_iso.m: Idem. + * covfcs/stk_sphcov_aniso.m: Idem. + +2017-10-30 Julien Bect <julien.b...@centralesupelec.fr> + + stk_dataframe.m: Improve help text + + * arrays/@stk_dataframe/stk_dataframe.m: Explain how to extract + the underlying numerical array. + + display.m: Fix EOL problem when display in verbose mode. + + * arrays/@stk_dataframe/display.m: Fix EOL problem in verbose mode. + + stk_options_set.m: Return option struct only if nargout > 0 + + * misc/options/stk_options_set.m: stk_options_set.m: Return option + struct only if nargout > 0. + +2017-09-14 RĂ©mi Stroh <remi.st...@lne.fr> + + Correct an error in the documentation + + * misc/test/stk_isequal_tolrel.m: replace "max" by "abs" + in the help message + 2017-09-12 Julien Bect <julien.b...@centralesupelec.fr> CODING_GUIDELINES: Add (and apply) CG#12 guideline diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/DESCRIPTION new/stk/DESCRIPTION --- old/stk/DESCRIPTION 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/DESCRIPTION 2018-06-12 07:22:00.000000000 +0200 @@ -1,8 +1,8 @@ Name: STK # -Version: 2.5.0 +Version: 2.5.1 # -Date: 2017-09-13 +Date: 2018-06-12 # Title: STK: A Small Toolbox for Kriging # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/NEWS new/stk/NEWS --- old/stk/NEWS 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/NEWS 2018-06-12 07:22:00.000000000 +0200 @@ -1,3 +1,17 @@ +# Changes in version 2.5.1 + +## Bug fixes + +* `stk_dominatedhv`: Workaround for Octave 4.4 issue + ([ticket #89](https://sourceforge.net/p/kriging/tickets/89/)) + +## Miscellaneous + +* Documentation fixes. + +* `stk_option_set`: Return option struct only if `nargout > 0`. + + # Changes in version 2.5.0 ## Required Octave version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/doc/README.md new/stk/doc/README.md --- old/stk/doc/README.md 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/doc/README.md 2018-06-12 07:22:00.000000000 +0200 @@ -22,7 +22,7 @@ ## General information - Version: 2.5.0 (2017-09-13) + Version: 2.5.1 (2018-06-12) Authors: See AUTHORS.md file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/arrays/@stk_dataframe/display.m new/stk/inst/arrays/@stk_dataframe/display.m --- old/stk/inst/arrays/@stk_dataframe/display.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/arrays/@stk_dataframe/display.m 2018-06-12 07:22:00.000000000 +0200 @@ -34,10 +34,10 @@ function display (x, varargin) -fprintf ('\n%s = <%s>', inputname (1), stk_sprintf_sizetype (x)); +fprintf ('\n%s = <%s>\n', inputname (1), stk_sprintf_sizetype (x)); if strcmp ('basic', stk_options_get ('stk_dataframe', 'disp_format')) - fprintf ('\n\n'); + fprintf ('\n'); end disp (x, varargin{:}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/arrays/@stk_dataframe/stk_dataframe.m new/stk/inst/arrays/@stk_dataframe/stk_dataframe.m --- old/stk/inst/arrays/@stk_dataframe/stk_dataframe.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/arrays/@stk_dataframe/stk_dataframe.m 2018-06-12 07:22:00.000000000 +0200 @@ -27,6 +27,21 @@ % % If ROWNAMES is an empty cell({}), the resulting dataframe has no row names. % +% NOTE: How to extract the underlying array +% +% It is sometimes useful to extract from an stk_dataframe object the +% underlying numerical (double precision) array. This can be achieved either +% using the 'data' field of the object: +% +% x1 = x.data; % x1 is a numerical array +% +% or using a cast to double: +% +% x2 = double (x); % x2 is a numerical array too, identical to x1 +% +% Note that the second syntax remains valid even if x is a numerical array +% (single, double, uint8...) instead of an stk_dataframe object. +% % See also: stk_factorialdesign, stk_hrect % Copyright Notice diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_expcov_aniso.m new/stk/inst/covfcs/stk_expcov_aniso.m --- old/stk/inst/covfcs/stk_expcov_aniso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_expcov_aniso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_expcov_aniso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the exponential covariance kernel with parameters PARAM. The output +% using the exponential covariance function with parameters PARAM. The output % matrix K has size NX x NY, where NX is the number of rows in X and NY the % number of rows in Y. The vector of parameters must have DIM + 1 elements, % where DIM is the common number of columns of X and Y: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov32_aniso.m new/stk/inst/covfcs/stk_materncov32_aniso.m --- old/stk/inst/covfcs/stk_materncov32_aniso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov32_aniso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov32_aniso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the anisotropic Matern covariance kernel with nu=3/2 and +% using the anisotropic Matern covariance function with nu=3/2 and % parameters PARAM. The output matrix K has size NX x NY, where NX is the % number of rows in X and NY the number of rows in Y. The vector of % parameters must have DIM + 1 elements, where DIM is the common number diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov32_iso.m new/stk/inst/covfcs/stk_materncov32_iso.m --- old/stk/inst/covfcs/stk_materncov32_iso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov32_iso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov32_iso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and -% Y, using the isotropic Matern covariance kernel with nu=3/2 and +% Y, using the isotropic Matern covariance function with nu=3/2 and % parameters PARAM. The output matrix K has size NX x NY, where NX is % the number of rows in X and NY the number of rows in Y. The vector of % parameters must have two elements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov52_aniso.m new/stk/inst/covfcs/stk_materncov52_aniso.m --- old/stk/inst/covfcs/stk_materncov52_aniso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov52_aniso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov52_aniso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the anisotropic Matern covariance kernel with nu=5/2 and +% using the anisotropic Matern covariance function with nu=5/2 and % parameters PARAM. The output matrix K has size NX x NY, where NX is the % number of rows in X and NY the number of rows in Y. The vector of % parameters must have DIM + 1 elements, where DIM is the common number diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov52_iso.m new/stk/inst/covfcs/stk_materncov52_iso.m --- old/stk/inst/covfcs/stk_materncov52_iso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov52_iso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov52_iso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the isotropic Matern covariance kernel with nu=5/2 and parameters +% using the isotropic Matern covariance function with nu=5/2 and parameters % PARAM. The output matrix K has size NX x NY, where NX is the number of % rows in X and NY the number of rows in Y. The vector of parameters must % have two elements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov_aniso.m new/stk/inst/covfcs/stk_materncov_aniso.m --- old/stk/inst/covfcs/stk_materncov_aniso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov_aniso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov_aniso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the anisotropic Matern covariance kernel with parameters PARAM. +% using the anisotropic Matern covariance function with parameters PARAM. % The output matrix K has size NX x NY, where NX is the number of rows in % X and NY the number of rows in Y. The vector of parameters must have % DIM + 1 elements, where DIM is the common number of columns of X and Y: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_materncov_iso.m new/stk/inst/covfcs/stk_materncov_iso.m --- old/stk/inst/covfcs/stk_materncov_iso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_materncov_iso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_materncov_iso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the isotropic Matern covariance kernel with parameters PARAM. The +% using the isotropic Matern covariance function with parameters PARAM. The % output matrix K has size NX x NY, where NX is the number of rows in X % and NY the number of rows in Y. The vector of parameters must have % three elements: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/covfcs/stk_sphcov_aniso.m new/stk/inst/covfcs/stk_sphcov_aniso.m --- old/stk/inst/covfcs/stk_sphcov_aniso.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/covfcs/stk_sphcov_aniso.m 2018-06-12 07:22:00.000000000 +0200 @@ -3,7 +3,7 @@ % CALL: K = stk_sphcov_aniso (PARAM, X, Y) % % computes the covariance matrix K between the sets of locations X and Y, -% using the anisotropic spherical covariance kernel with parameters PARAM. +% using the anisotropic spherical covariance function with parameters PARAM. % The output matrix K has size NX x NY, where NX is the number of rows in X % and NY the number of rows in Y. The vector of parameters must have DIM + 1 % elements, where DIM is the common number of columns of X and Y: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/misc/options/stk_options_set.m new/stk/inst/misc/options/stk_options_set.m --- old/stk/inst/misc/options/stk_options_set.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/misc/options/stk_options_set.m 2018-06-12 07:22:00.000000000 +0200 @@ -94,7 +94,9 @@ end -opts = options; +if nargout > 0 + opts = options; +end end % function diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/misc/test/stk_isequal_tolrel.m new/stk/inst/misc/test/stk_isequal_tolrel.m --- old/stk/inst/misc/test/stk_isequal_tolrel.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/misc/test/stk_isequal_tolrel.m 2018-06-12 07:22:00.000000000 +0200 @@ -9,7 +9,7 @@ % % where % -% TOLABS = max(max(A(:)), max(B(:))) * TOLREL. +% TOLABS = max(abs(A(:)), abs(B(:))) * TOLREL. % % For numeric array, the function returns false is either % diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/sampling/@stk_sampcrit_eqi/feval.m new/stk/inst/sampling/@stk_sampcrit_eqi/feval.m --- old/stk/inst/sampling/@stk_sampcrit_eqi/feval.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/sampling/@stk_sampcrit_eqi/feval.m 2018-06-12 07:22:00.000000000 +0200 @@ -5,7 +5,7 @@ % Copyright Notice % % Copyright (C) 2016, 2017 CentraleSupelec -% Copyright (C) EDF R&D +% Copyright (C) 2016 EDF R&D % % Authors: Tom Assouline, Florent Autret & Stefano Duhamel (for EDF R&D) % Julien Bect <julien.b...@centralesupelec.fr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/stk_version.m new/stk/inst/stk_version.m --- old/stk/inst/stk_version.m 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/inst/stk_version.m 2018-06-12 07:22:00.000000000 +0200 @@ -2,7 +2,7 @@ % Copyright Notice % -% Copyright (C) 2015-2017 CentraleSupelec +% Copyright (C) 2015-2018 CentraleSupelec % Copyright (C) 2013, 2014 SUPELEC % % Author: Julien Bect <julien.b...@centralesupelec.fr> @@ -29,6 +29,6 @@ function v = stk_version () -v = '2.5.0'; +v = '2.5.1'; end % function diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/src/stk_dominatedhv_mex.c new/stk/src/stk_dominatedhv_mex.c --- old/stk/src/stk_dominatedhv_mex.c 2017-09-13 09:51:00.000000000 +0200 +++ new/stk/src/stk_dominatedhv_mex.c 2018-06-12 07:22:00.000000000 +0200 @@ -97,9 +97,12 @@ if (nb_objectives == 0) { - *sign = NULL; - *xmin = NULL; - *xmax = NULL; + if (nb_points > 0) + mexErrMsgTxt ("nb_objectives == 0 and nb_points > 0: Undefined behaviour."); + + *sign = mxCreateDoubleMatrix (0, 0, mxREAL); + *xmin = mxCreateDoubleMatrix (0, 0, mxREAL); + *xmax = mxCreateDoubleMatrix (0, 0, mxREAL); } else if (nb_points == 0) {