Commit c9d0d614 authored by Johan Richard's avatar Johan Richard
Browse files

Solved bug in normalisation factor of Likelihood with wFrame

parent aa6fb23b
......@@ -447,7 +447,7 @@ void readConstraints()
lhood_wo = 0.;
for( i = 0; i < wFrame.nx; i++ )
for( j = 0; j < wFrame.ny; j++ )
if( wo[i][j] > 0 )
if( wo[j][i] > 0 )
lhood_wo -= log( 2.*M_PI*wo[j][i] );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment