From ee7c8ee8a86a7947f0625043838620dae633ddbe Mon Sep 17 00:00:00 2001 From: Thiago Yukio Horita Pacheco <108899822+thiagoyukiop@users.noreply.github.com> Date: Wed, 6 May 2026 09:38:17 -0300 Subject: [PATCH] Move return statement for kb variable out of 'if(plot)' Fixing return statement that was inside 'if' condition. --- R/jbplot_ensemble.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/jbplot_ensemble.R b/R/jbplot_ensemble.R index 665561b..119567b 100644 --- a/R/jbplot_ensemble.R +++ b/R/jbplot_ensemble.R @@ -383,9 +383,8 @@ jbplot_ensemble<- function(kb, quant=quants[s] plot_quants(quant) } - if(kbout) return(kb) } # endplot - + if(kbout) return(kb) } #}}} end of jbplot_ensemble() #-----------------------------------------------------------------------------------------