Skip to content

Commit

Permalink
Same guards for c sharp
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Feb 25, 2013
1 parent 370a2ee commit 2dd4049
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/shogun/labels/BinaryLabels.cpp
Expand Up @@ -11,7 +11,7 @@ CBinaryLabels::CBinaryLabels(int32_t num_labels) : CDenseLabels(num_labels)
{
}

#ifndef SWIGJAVA
#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
CBinaryLabels::CBinaryLabels(SGVector<int32_t> src) : CDenseLabels()
{
SGVector<float64_t> values(src.vlen);
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/labels/BinaryLabels.h
Expand Up @@ -45,7 +45,7 @@ class CBinaryLabels : public CDenseLabels
*/
CBinaryLabels(int32_t num_labels);

#ifndef SWIGJAVA
#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
/** constructor
* sets labels with src elements
*
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/labels/DenseLabels.cpp
Expand Up @@ -119,7 +119,7 @@ void CDenseLabels::set_int_labels(SGVector<int32_t> lab)
set_int_label(i, lab.vector[i]);
}

#ifndef SWIGJAVA
#if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
void CDenseLabels::set_int_labels(SGVector<int64_t> lab)
{
if (m_subset_stack->has_subsets())
Expand Down
2 changes: 1 addition & 1 deletion src/shogun/labels/DenseLabels.h
Expand Up @@ -176,7 +176,7 @@ class CDenseLabels : public CLabels
*/
void set_int_labels(SGVector<int32_t> labels);

#ifndef SWIGJAVA
#if !defined(SWIGJAVA) && !defined(SWIGCSHAPR)
/** set INT64 labels
*
* not possible on subset
Expand Down

0 comments on commit 2dd4049

Please sign in to comment.