Skip to content

Commit

Permalink
disable reference counts for bare ptrs
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Sep 3, 2012
1 parent dc3534b commit cb4b2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/multiclass/QDA.h
Expand Up @@ -128,7 +128,7 @@ class CQDA : public CNativeMulticlassMachine
*/
inline SGVector< float64_t > get_mean(int32_t c) const
{
return SGVector< float64_t >(m_means.get_column_vector(c), m_dim);
return SGVector< float64_t >(m_means.get_column_vector(c), m_dim, false);
}

/** get a class' covariance matrix
Expand All @@ -139,7 +139,7 @@ class CQDA : public CNativeMulticlassMachine
*/
inline SGMatrix< float64_t > get_cov(int32_t c) const
{
return SGMatrix< float64_t >(m_covs.get_matrix(c), m_dim, m_dim);
return SGMatrix< float64_t >(m_covs.get_matrix(c), m_dim, m_dim, false);
}

protected:
Expand Down

0 comments on commit cb4b2b5

Please sign in to comment.