Skip to content

Commit

Permalink
Attempt to fix csharp compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 14, 2012
1 parent bbcbb01 commit c6a588e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/shogun/evaluation/MulticlassOVREvaluation.h
Expand Up @@ -66,12 +66,12 @@ class CMulticlassOVREvaluation: public CEvaluation
}

/** returns graph for ith class */
SGMatrix<float64_t> get_graph_for_class(int32_t i)
SGMatrix<float64_t> get_graph_for_class(int32_t class_idx)
{
ASSERT(m_graph_results);
ASSERT(i>=0);
ASSERT(i<m_num_graph_results);
return m_graph_results[i];
ASSERT(class_idx>=0);
ASSERT(class_idx<m_num_graph_results);
return m_graph_results[class_idx];
}

/** returns evaluation direction */
Expand Down
4 changes: 2 additions & 2 deletions src/shogun/regression/gp/GaussianLikelihood.h
Expand Up @@ -17,8 +17,8 @@ namespace shogun

/** @brief This is the class that models a Gaussian Likelihood
*
* In this case, P(y|f) is normally distributed with mean f and
* variance $\sigma$.
* In this case, \f$P(y|f)\f$ is normally distributed with mean \f$f\f$ and
* variance \f$\sigma\f$.
*
*/
class CGaussianLikelihood: public CLikelihoodModel
Expand Down
1 change: 1 addition & 0 deletions src/shogun/regression/gp/InferenceMethod.h
Expand Up @@ -42,6 +42,7 @@ class CInferenceMethod : public CDifferentiableFunction
/** Constructor
* @param kernel covariance function
* @param features features to use in inference
* @param mean mean function to use
* @param labels labels of the features
* @param model Likelihood model to use
*/
Expand Down
3 changes: 2 additions & 1 deletion src/shogun/structure/MulticlassSOLabels.h
Expand Up @@ -28,6 +28,7 @@ class CMulticlassSOLabels;
* labels needs to inherit from CStructuredData. */
struct CRealNumber : public CStructuredData
{
/** data type */
STRUCTURED_DATA_TYPE(SDT_REAL);

/** constructor
Expand Down Expand Up @@ -77,7 +78,7 @@ class CMulticlassSOLabels : public CStructuredLabels
/** destructor */
virtual ~CMulticlassSOLabels();

/* get number of classes
/** get number of classes
*
* @return number of classes
*/
Expand Down

0 comments on commit c6a588e

Please sign in to comment.