From e5ab7ed992000e02bb2174234932c05430d6a05f Mon Sep 17 00:00:00 2001
From: Marco Ratto <marco.ratto@jrc.ec.europa.eu>
Date: Sat, 14 May 2016 14:16:12 +0200
Subject: [PATCH] fixed unknown options warning messages

---
 matlab/check_posterior_sampler_options.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/matlab/check_posterior_sampler_options.m b/matlab/check_posterior_sampler_options.m
index c296cc94ad..2200176861 100644
--- a/matlab/check_posterior_sampler_options.m
+++ b/matlab/check_posterior_sampler_options.m
@@ -84,7 +84,7 @@ if init,
                             options_.use_mh_covariance_matrix = options_list{i,2};
                             
                         otherwise
-                            warning(['imh_sampler: Unknown option (' options_list{i,1} ')!'])
+                            warning(['rwmh_sampler: Unknown option (' options_list{i,1} ')!'])
                     end
                 end
             end
@@ -134,6 +134,7 @@ if init,
                             end
                             
                         otherwise
+                            warning(['tarb_sampler: Unknown option (' options_list{i,1} ')!'])
                             
                     end
                     
-- 
GitLab