Skip to content

Commit

Permalink
Merge pull request #1859 from votjakovr/develop
Browse files Browse the repository at this point in the history
fix check of the dimensions in log_pdf_multiple() method of the CGaussianDistribution class
  • Loading branch information
karlnapf committed Feb 10, 2014
2 parents 332be4b + 9fae7d7 commit 44ba9aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -111,7 +111,7 @@ SGVector<float64_t> CGaussianDistribution::log_pdf_multiple(SGMatrix<float64_t>
{
REQUIRE(samples.num_cols>0, "Number of samples must be positive, but is %d\n",
samples.num_cols);
REQUIRE(samples.num_rows=m_dimension, "Sample dimension (%d) does not match"
REQUIRE(samples.num_rows==m_dimension, "Sample dimension (%d) does not match"
"Gaussian dimension (%d)\n", samples.num_rows, m_dimension);

/* for easier to read code */
Expand Down

0 comments on commit 44ba9aa

Please sign in to comment.