Skip to content

Commit

Permalink
fix check of the dimensions in log_pdf_multiple() method of the CGaus…
Browse files Browse the repository at this point in the history
…sianDistribution class
  • Loading branch information
votjakovr committed Feb 10, 2014
1 parent 9dabfca commit 9fae7d7
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 9fae7d7

Please sign in to comment.