Hello community, here is the log from the commit of package octave-forge-stk for openSUSE:Factory checked in at 2015-07-12 22:53:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/octave-forge-stk (Old) and /work/SRC/openSUSE:Factory/.octave-forge-stk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-stk" Changes: -------- --- /work/SRC/openSUSE:Factory/octave-forge-stk/octave-forge-stk.changes 2015-06-23 12:00:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.octave-forge-stk.new/octave-forge-stk.changes 2015-07-12 22:53:04.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 7 17:09:17 UTC 2015 - [email protected] + +- Update to version 2.3.2 + * Bug fixes and minor changes + +------------------------------------------------------------------- Old: ---- stk-2.3.1.tar.gz New: ---- stk-2.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ octave-forge-stk.spec ++++++ --- /var/tmp/diff_new_pack.vm25B8/_old 2015-07-12 22:53:05.000000000 +0200 +++ /var/tmp/diff_new_pack.vm25B8/_new 2015-07-12 22:53:05.000000000 +0200 @@ -18,7 +18,7 @@ %define octpkg stk Name: octave-forge-%{octpkg} -Version: 2.3.1 +Version: 2.3.2 Release: 0 Summary: Small Octave Toolbox for Kriging License: GPL-3.0+ @@ -27,7 +27,7 @@ Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: octave-devel -Requires: octave-cli +Requires: octave-cli >= 3.2.2 %description The STK is a (not so) Small Toolbox for Kriging. Its primary focus ++++++ stk-2.3.1.tar.gz -> stk-2.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/ChangeLog new/stk/ChangeLog --- old/stk/ChangeLog 2015-06-22 08:42:19.000000000 +0200 +++ new/stk/ChangeLog 2015-06-30 22:02:49.000000000 +0200 @@ -1,3 +1,43 @@ +2015-06-30 Julien Bect <[email protected]> + + build_octpkg.m: Fix the generated DESCRIPTION file + + * admin/build_tools/build_octpkg.m: Add "Depends: octave (>= + 3.2.2)" and "Autoload: no" to the generated DESCRIPTION file. + +2015-06-25 Emmanuel Vazquez <[email protected]> + + @stk_kreq_qr/get.m: Fix a call to dot () + + * core/@stk_kreq_qr/get.m: Fix a call to dot () to make it work + when there is only one observation. + +2015-06-25 Rémi Stroh <[email protected]> + + stk_param_estim.m: Fix a bug related to parameter objects. + + * paramestim/stk_param_estim.m (provide_param0_value): Fix a bug + related to parameter objects. More precisely, use (:) indexing + systematically to access the vector of numerical parameters + corresponding to a given parameter object. + + @stk_factorialdesign/stk_normalize.m: Add missing line continuation mark + + * arrays/@stk_factorialdesign/stk_normalize.m: Add missing line + continuation mark. + +2015-06-24 Julien Bect <[email protected]> + + stk_param_init.m: Removed unused variable. + + * paramestim/stk_param_init.m: Removed unused variable. + + stk_param_getdefaultbounds.m: Return [] for parameter classes + + * paramestim/stk_param_getdefaultbounds.m: Return empty lower and + upper bounds for parameter classes that do not implement the + stk_param_getdefaultbounds. + 2015-06-16 Julien Bect <[email protected]> check_index_file.m: Fix error handling. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/DESCRIPTION new/stk/DESCRIPTION --- old/stk/DESCRIPTION 2015-06-22 08:42:24.000000000 +0200 +++ new/stk/DESCRIPTION 2015-06-30 22:02:53.000000000 +0200 @@ -1,8 +1,8 @@ Name: STK # -Version: 2.3.1 +Version: 2.3.2 # -Date: 22-Jun-2015 +Date: 30-Jun-2015 # Title: STK: A Small Toolbox for Kriging # @@ -22,3 +22,7 @@ Machine Learning, Non-parametric Regression, etc.). # Url: https://sourceforge.net/projects/kriging/ +# +Depends: octave (>= 3.2.2) +# +Autoload: no diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/NEWS new/stk/NEWS --- old/stk/NEWS 2015-06-22 08:42:19.000000000 +0200 +++ new/stk/NEWS 2015-06-30 22:02:49.000000000 +0200 @@ -1,3 +1,26 @@ +Changes in version 2.3.2 +======================== + +* Bug fixes + + o stk_param_estim.m: Fix a bug related to parameter objects. More precisely, + use (:) indexing systematically to access the vector of numerical + parameters corresponding to a given parameter object. + + o @stk_kreq_qr/get.m: Fix a call to dot () to make it work when there is only + one observation. + + o Add missing field "Depends" to the DESCRIPTION file in the Octave package. + +* Minor changes + + o stk_param_getdefaultbounds.m: Return empty lower and upper bounds for + parameter classes that do not implement the stk_param_getdefaultbounds + (instead of calling error). + + o Add optional field "Autoload" to the DESCRIPTION file in the Octave package. + + Changes in version 2.3.1 ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/doc/README new/stk/doc/README --- old/stk/doc/README 2015-06-22 08:42:19.000000000 +0200 +++ new/stk/doc/README 2015-06-30 22:02:49.000000000 +0200 @@ -34,7 +34,7 @@ o General information - Version: 2.3.1 + Version: 2.3.2 Authors: See AUTHORS file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/arrays/@stk_factorialdesign/stk_normalize.m new/stk/inst/arrays/@stk_factorialdesign/stk_normalize.m --- old/stk/inst/arrays/@stk_factorialdesign/stk_normalize.m 2015-06-22 08:42:21.000000000 +0200 +++ new/stk/inst/arrays/@stk_factorialdesign/stk_normalize.m 2015-06-30 22:02:50.000000000 +0200 @@ -30,7 +30,7 @@ if (~ isa (x, 'stk_factorialdesign')) % One of the box arguments is an stk_factorialdesign object - stk_error (['stk_factorialdesign objects cannot be used as values ' + stk_error (['stk_factorialdesign objects cannot be used as values ' ... 'for ''box'' arguments.'], 'TypeMismatch'); end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/core/@stk_kreq_qr/get.m new/stk/inst/core/@stk_kreq_qr/get.m --- old/stk/inst/core/@stk_kreq_qr/get.m 2015-06-22 08:42:21.000000000 +0200 +++ new/stk/inst/core/@stk_kreq_qr/get.m 2015-06-30 22:02:51.000000000 +0200 @@ -6,9 +6,11 @@ % Copyright Notice % +% Copyright (C) 2015 CentraleSupelec % Copyright (C) 2013, 2014 SUPELEC % -% Author: Julien Bect <[email protected]> +% Author: Julien Bect <[email protected]> +% Emmanuel Vazquez <[email protected]> % Copying Permission Statement % @@ -48,7 +50,7 @@ value = kreq.lambda_mu((kreq.n + 1):end, :); case 'delta_var' - value = dot (kreq.lambda_mu, kreq.RS)'; + value = dot (kreq.lambda_mu, kreq.RS, 1)'; case 'log_abs_det_kriging_matrix' % LS_Q has +/- 1 determinant, so we only need to care about LS_R diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/misc/pareto/essais.m new/stk/inst/misc/pareto/essais.m --- old/stk/inst/misc/pareto/essais.m 1970-01-01 01:00:00.000000000 +0100 +++ new/stk/inst/misc/pareto/essais.m 2015-06-30 22:02:53.000000000 +0200 @@ -0,0 +1,42 @@ +%% +y_ref = [1 1]; y = [0.3 0.3]; r = stk_dominatedhv (y, y_ref, 1) + +% r = +% +% sign: 1 +% xmin: [0.3000 0.3000] +% xmax: [1 1] + +%% + +y_ref = [1 1]; y = [0.3 0.7; 0.6 0.2]; +r = stk_dominatedhv (y, y_ref, 1) + +r.sign +r.xmin +r.xmax + +% ans = +% +% 1 +% 1 +% -1 +% +% +% ans = +% +% 0.3000 0.7000 +% 0.6000 0.2000 +% 0.6000 0.7000 +% +% +% ans = +% +% 1 1 +% 1 1 +% 1 1 + + +%% +y_ref = [1 1]; y = [0.2 0.8; 0.4 0.6; 0.8 0.2]; +r = stk_dominatedhv (y, y_ref, 1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/paramestim/stk_param_estim.m new/stk/inst/paramestim/stk_param_estim.m --- old/stk/inst/paramestim/stk_param_estim.m 2015-06-22 08:42:24.000000000 +0200 +++ new/stk/inst/paramestim/stk_param_estim.m 2015-06-30 22:02:53.000000000 +0200 @@ -36,6 +36,7 @@ % Authors: Julien Bect <[email protected]> % Emmanuel Vazquez <[email protected]> % Ashwin Ravisankar <[email protected]> +% Remi Stroh <[email protected]> % Copying Permission Statement % @@ -313,14 +314,14 @@ end % Test if param0 contains nans - if any (isnan (double (param0))) + if any (isnan (param0(:))) warning ('param0 has nans, using model.param instead'); param0 = []; end end % param0: try to use model.param if we still have no acceptable value -if (isempty (param0)) && (~ any (isnan (double (model.param)))) +if (isempty (param0)) && (~ any (isnan (model.param(:)))) param0 = model.param; end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/paramestim/stk_param_getdefaultbounds.m new/stk/inst/paramestim/stk_param_getdefaultbounds.m --- old/stk/inst/paramestim/stk_param_getdefaultbounds.m 2015-06-22 08:42:24.000000000 +0200 +++ new/stk/inst/paramestim/stk_param_getdefaultbounds.m 2015-06-30 22:02:53.000000000 +0200 @@ -2,10 +2,11 @@ % Copyright Notice % +% Copyright (C) 2015 CentraleSupelec % Copyright (C) 2011-2014 SUPELEC % -% Authors: Julien Bect <[email protected]> -% Emmanuel Vazquez <[email protected]> +% Authors: Julien Bect <[email protected]> +% Emmanuel Vazquez <[email protected]> % Copying Permission Statement % @@ -29,7 +30,17 @@ function [lb, ub] = stk_param_getdefaultbounds (covariance_type, param0, xi, zi) -if ~ isfloat (param0) +if isobject (param0) + + % param0 is an object from a class that does not implement + % stk_param_getdefaultbounds (otherwise we wouldn't have ended up here). + % We assume that this is a choice of the designer of the parameter class, + % and therefore return [] without a warning. + + lb = []; + ub = []; + +elseif ~ isfloat (param0) stk_error ('Incorrect type for param0.', 'TypeMismatch'); @@ -81,7 +92,7 @@ warning (sprintf (['Unknown covariance type: %s, ' ... 'returning empty bounds.'], covariance_type)); %#ok<WNTAG,SPWRN> - + lb = []; ub = []; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/stk/inst/paramestim/stk_param_init.m new/stk/inst/paramestim/stk_param_init.m --- old/stk/inst/paramestim/stk_param_init.m 2015-06-22 08:42:24.000000000 +0200 +++ new/stk/inst/paramestim/stk_param_init.m 2015-06-30 22:02:53.000000000 +0200 @@ -42,7 +42,7 @@ % Copyright (C) 2015 CentraleSupelec % Copyright (C) 2012-2014 SUPELEC % -% Authors: Julien Bect <[email protected]> +% Authors: Julien Bect <[email protected]> % Paul Feliot <[email protected]> % Copying Permission Statement @@ -78,11 +78,8 @@ %--- first, default values for arguments 'box' and 'noisy' --------------------- -if nargin < 5, - noisy = false; - if nargin < 4, - box = []; - end +if nargin < 4, + box = []; end if ~ isa (box, 'stk_hrect') 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 2015-06-22 08:42:24.000000000 +0200 +++ new/stk/inst/stk_version.m 2015-06-30 22:02:53.000000000 +0200 @@ -29,6 +29,6 @@ function v = stk_version () -v = '2.3.1'; +v = '2.3.2'; end % function stk_version
