Skip to content

Commit

Permalink
Add %newobject to inverse transform in swig
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and vigsterkr committed Jun 4, 2018
1 parent b45c31e commit 84c1cde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interfaces/swig/Transformer.i
Expand Up @@ -5,7 +5,8 @@
*/

/* These functions return new Objects */
%newobject shogun::CTransformer::transform(CFeatures*);
%newobject shogun::CTransformer::transform(CFeatures*, bool inplace=true);
%newobject shogun::CTransformer::inverse_transform(CFeatures*, bool inplace=true);

/* Remove C Prefix */
%rename(Transformer) CTransformer;
Expand Down

0 comments on commit 84c1cde

Please sign in to comment.