Skip to content

Commit

Permalink
Revert changing to override and default.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnik-dmitry07 committed Apr 8, 2020
1 parent 66247d7 commit 486edda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/shogun/converter/StochasticProximityEmbedding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void StochasticProximityEmbedding::init()
}

StochasticProximityEmbedding::~StochasticProximityEmbedding()
= default;
{
}

void StochasticProximityEmbedding::set_k(int32_t k)
{
Expand Down
8 changes: 4 additions & 4 deletions src/shogun/converter/StochasticProximityEmbedding.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ namespace shogun
StochasticProximityEmbedding();

/** destructor */
~StochasticProximityEmbedding() override;
virtual ~StochasticProximityEmbedding();

/** apply to features
*
* @param features features to embed
* @return embedding features
*/
std::shared_ptr<Features>
transform(std::shared_ptr<Features> features, bool inplace) override;
virtual std::shared_ptr<Features>
transform(std::shared_ptr<Features> features, bool inplace = true);

/** setter for number of neighbors k in local strategy
*
Expand Down Expand Up @@ -137,7 +137,7 @@ namespace shogun
int32_t get_max_iteration() const;

/** get name */
const char* get_name() const override;
virtual const char* get_name() const;

private:
/** default init */
Expand Down

0 comments on commit 486edda

Please sign in to comment.