New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop usage of set_feature_matrix #4376

Merged
merged 5 commits into from Aug 15, 2018

Conversation

Projects
None yet
3 participants
@vinx13
Contributor

vinx13 commented Jul 17, 2018

now the only usage of set_feature_matrix is swig

$self->set_feature_matrix(new_feat_matrix.clone());

after that we can drop it from public api

@vinx13

This comment has been minimized.

Contributor

vinx13 commented Aug 1, 2018

an idea to deal with swig is to use a friend function, so that we can hide set_feature_matrix from public api, @karlnapf what do you think

@karlnapf

This comment has been minimized.

Member

karlnapf commented Aug 3, 2018

I think that is a good idea, depending on where this statement will be.
The alternative in such special cases is to use put<SGMatrix<T>>("feature_matrix", mat)

@vinx13 vinx13 force-pushed the vinx13:cleanup/drop_set_feature_matrix branch from 4e34014 to 1686180 Aug 6, 2018

vinx13 added some commits Aug 14, 2018

@vigsterkr vigsterkr merged commit aab0812 into shogun-toolbox:develop Aug 15, 2018

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment