Skip to content

Commit

Permalink
Merge pull request #786 from aasted/gaussian_bugfix
Browse files Browse the repository at this point in the history
Fix for parameter order bug in GaussianKernel
  • Loading branch information
lisitsyn committed Sep 21, 2012
2 parents a58fa6e + d76d8b7 commit dac42e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/kernel/GaussianKernel.cpp
Expand Up @@ -53,7 +53,7 @@ CSGObject *CGaussianKernel::shallow_copy() const
// this assert is to avoid any subclass of CGaussianKernel accidentally called
// with the implement here
ASSERT(typeid(*this) == typeid(CGaussianKernel));
CGaussianKernel *ker = new CGaussianKernel(width, cache_size);
CGaussianKernel *ker = new CGaussianKernel(cache_size, width);
if (lhs)
{
ker->init(lhs, rhs);
Expand Down

0 comments on commit dac42e1

Please sign in to comment.