Skip to content
Snippets Groups Projects
Commit 6b4a6a7d authored by Stamatios Sotiropoulos's avatar Stamatios Sotiropoulos
Browse files

Remove warnings

parent c88a7cfa
No related branches found
No related tags found
No related merge requests found
...@@ -298,7 +298,7 @@ namespace FIBRE{ ...@@ -298,7 +298,7 @@ namespace FIBRE{
//note(gamma(lam+1)/(gamma(1)*gamma(lam)) = lam //note(gamma(lam+1)/(gamma(1)*gamma(lam)) = lam
// the following is a beta distribution with alpha=0 // the following is a beta distribution with alpha=0
m_f_old_prior=m_f_prior; m_f_old_prior=m_f_prior;
if (m_f<=0 | m_f>=1 ) if ((m_f<=0) | (m_f>=1))
return true; return true;
else{ else{
//m_f_prior=-(log(m_lam) + (m_lam-1)*log(1-m_f)); //m_f_prior=-(log(m_lam) + (m_lam-1)*log(1-m_f));
...@@ -325,7 +325,7 @@ namespace FIBRE{ ...@@ -325,7 +325,7 @@ namespace FIBRE{
inline bool compute_lam_prior(){ inline bool compute_lam_prior(){
m_lam_old_prior=m_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; return true;
else{ else{
m_lam_prior=0; m_lam_prior=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment