Navigation Menu

Skip to content

Commit

Permalink
Fix for parameter order bug in GaussianKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Aasted committed Sep 21, 2012
1 parent fabddb3 commit d76d8b7
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 d76d8b7

Please sign in to comment.