From 1e92e308b9d0301108d18d7256f47655097f20cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 15 Apr 2019 18:50:16 +0200 Subject: [PATCH] Pruning is not available for order > 3 Ref #217 --- matlab/simult_.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matlab/simult_.m b/matlab/simult_.m index 12e4d7614..c255a2b8a 100644 --- a/matlab/simult_.m +++ b/matlab/simult_.m @@ -187,5 +187,7 @@ else yhat2 = yhat2(ipred); yhat3 = yhat3(ipred); end + otherwise + error(['pruning not available for order = ' int2str(options_.order)]) end end