Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added %newobject for preprocessor routines creating new objects
  • Loading branch information
lisitsyn committed Aug 21, 2011
1 parent ed016f4 commit 8631f29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interfaces/modular/Preprocessor.i
Expand Up @@ -29,6 +29,9 @@
%rename(SortUlongString) CSortUlongString;
%rename(SortWordString) CSortWordString;

%newobject *::apply_to_distance;
%newobject shogun::CKernelPCA::apply_to_string_features;

/* Include Class Headers to make them visible from within the target language */
%include <shogun/lib/Compressor.h>
%include <shogun/preprocessor/Preprocessor.h>
Expand Down

0 comments on commit 8631f29

Please sign in to comment.