From e9f1bc47e7bab3779877e9342214f2d073274eec Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Tue, 7 Jan 2025 15:00:25 +0100
Subject: [PATCH] :bug: fix download link for SS ANOVA package

Closes #1946
---
 doc/manual/source/the-model-file.rst | 5 +++--
 matlab/+gsa/run.m                    | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index 285a9ad3cc..82955ef4ab 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -12623,8 +12623,9 @@ Performing sensitivity analysis
         If equal to ``0``, ANOVA mapping (Type I error) If equal to
         ``1``, Screening analysis (Type II error). If equal to ``2``,
         Analytic derivatives (similar to Type II error, only valid
-        when identification=1). Default: ``1`` when
-        ``identification=1``, ``0`` otherwise.
+        when identification=1). The ANOVA mapping requires the SS-ANOVA-R MATLAB 
+        Toolbox available at https://joint-research-centre.ec.europa.eu/system/files/2025-01/ss_anova_recurs.zip 
+        Default: ``1`` when ``identification=1``, ``0`` otherwise.
 
     .. option:: morris_nliv = INTEGER
 
diff --git a/matlab/+gsa/run.m b/matlab/+gsa/run.m
index 8ff035e895..31d5e2debb 100644
--- a/matlab/+gsa/run.m
+++ b/matlab/+gsa/run.m
@@ -360,7 +360,7 @@ if options_gsa.redform && ~isempty(options_gsa.namendo)
         if isempty(options_gsa.threshold_redform) && ~(exist('gsa_sdp','file')==6 || exist('gsa_sdp','file')==2)
             fprintf('\nThe "SS-ANOVA-R: MATLAB Toolbox for the estimation of Smoothing Spline ANOVA models with Recursive algorithms" is missing.\n')
             fprintf('To obtain it, go to:\n\n')
-            fprintf('https://ec.europa.eu/jrc/en/macro-econometric-statistical-software/ss-anova-r-downloads \n\n')
+            fprintf('https://joint-research-centre.ec.europa.eu/system/files/2025-01/ss_anova_recurs.zip \n\n')
             fprintf('and follow the instructions there.\n')
             fprintf('After obtaining the files, you need to unpack them and set a Matlab Path to those files.\n')
             error('SS-ANOVA-R Toolbox missing!')
-- 
GitLab