Skip to content
This repository
Browse code

Fix indentation convention

  • Loading branch information...
commit 242f0f7c9389e5e732cb7040ca8d6e347c3505a4 1 parent 83a3931
Chiyuan Zhang pluskid authored
2  src/shogun/kernel/AUCKernel.cpp
@@ -48,7 +48,7 @@ CLabels* CAUCKernel::setup_auc_maximization(CLabels* labels)
48 48 SG_INFO( "setting up AUC maximization\n") ;
49 49 ASSERT(labels);
50 50 ASSERT(labels->get_label_type() == LT_BINARY);
51   - labels->ensure_valid();
  51 + labels->ensure_valid();
52 52
53 53 // get the original labels
54 54 SGVector<int32_t> int_labels=((CBinaryLabels*) labels)->get_int_labels();
2  src/shogun/kernel/SalzbergWordStringKernel.cpp
@@ -354,7 +354,7 @@ void CSalzbergWordStringKernel::set_prior_probs_from_labels(CLabels* labels)
354 354 {
355 355 ASSERT(labels);
356 356 ASSERT(labels->get_label_type() == LT_BINARY);
357   - labels->ensure_valid();
  357 + labels->ensure_valid();
358 358
359 359 int32_t num_pos=0, num_neg=0;
360 360 for (int32_t i=0; i<labels->get_num_labels(); i++)
2  src/shogun/kernel/ScatterKernelNormalizer.h
@@ -47,7 +47,7 @@ class CScatterKernelNormalizer: public CKernelNormalizer
47 47 SG_REF(labels);
48 48 m_labels=labels;
49 49 ASSERT(labels->get_label_type()==LT_MULTICLASS);
50   - labels->ensure_valid();
  50 + labels->ensure_valid();
51 51
52 52 if (normalizer==NULL)
53 53 normalizer=new CIdentityKernelNormalizer();

0 comments on commit 242f0f7

Please sign in to comment.
Something went wrong with that request. Please try again.