From 6b4a6a7d9044da8c9c19a759344ec2b787efd959 Mon Sep 17 00:00:00 2001 From: Stamatios Sotiropoulos <stam@fmrib.ox.ac.uk> Date: Fri, 22 Feb 2013 13:43:56 +0000 Subject: [PATCH] Remove warnings --- fibre.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fibre.h b/fibre.h index f5224db..b66dadb 100644 --- a/fibre.h +++ b/fibre.h @@ -298,7 +298,7 @@ namespace FIBRE{ //note(gamma(lam+1)/(gamma(1)*gamma(lam)) = lam // the following is a beta distribution with alpha=0 m_f_old_prior=m_f_prior; - if (m_f<=0 | m_f>=1 ) + if ((m_f<=0) | (m_f>=1)) return true; else{ //m_f_prior=-(log(m_lam) + (m_lam-1)*log(1-m_f)); @@ -325,7 +325,7 @@ namespace FIBRE{ inline bool compute_lam_prior(){ m_lam_old_prior=m_lam_prior; - if(m_lam <0 | m_lam > 1e16 ) + if((m_lam <0) | (m_lam > 1e16)) return true; else{ m_lam_prior=0; -- GitLab