Skip to content

Commit

Permalink
Fix indentation convention
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 22, 2012
1 parent d3b4e9c commit 8d10a3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/shogun/kernel/AUCKernel.cpp
Expand Up @@ -48,7 +48,7 @@ CLabels* CAUCKernel::setup_auc_maximization(CLabels* labels)
SG_INFO( "setting up AUC maximization\n") ;
ASSERT(labels);
ASSERT(labels->get_label_type() == LT_BINARY);
labels->ensure_valid();
labels->ensure_valid();

// get the original labels
SGVector<int32_t> int_labels=((CBinaryLabels*) labels)->get_int_labels();
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/kernel/SalzbergWordStringKernel.cpp
Expand Up @@ -354,7 +354,7 @@ void CSalzbergWordStringKernel::set_prior_probs_from_labels(CLabels* labels)
{
ASSERT(labels);
ASSERT(labels->get_label_type() == LT_BINARY);
labels->ensure_valid();
labels->ensure_valid();

int32_t num_pos=0, num_neg=0;
for (int32_t i=0; i<labels->get_num_labels(); i++)
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/kernel/ScatterKernelNormalizer.h
Expand Up @@ -47,7 +47,7 @@ class CScatterKernelNormalizer: public CKernelNormalizer
SG_REF(labels);
m_labels=labels;
ASSERT(labels->get_label_type()==LT_MULTICLASS);
labels->ensure_valid();
labels->ensure_valid();

if (normalizer==NULL)
normalizer=new CIdentityKernelNormalizer();
Expand Down

0 comments on commit 8d10a3a

Please sign in to comment.