Skip to content

Commit

Permalink
Add missing const qualifier in Vienna backend (#4161)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and karlnapf committed Feb 9, 2018
1 parent a7a79f1 commit 8e84e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/mathematics/linalg/LinalgBackendViennaCL.h
Expand Up @@ -187,7 +187,7 @@ namespace shogun

/** Implementation of @see LinalgBackendBase::scale */
#define BACKEND_GENERIC_IN_PLACE_SCALE(Type, Container) \
virtual void scale(Container<Type>& a, Type alpha, Container<Type>& result) const \
virtual void scale(const Container<Type>& a, Type alpha, Container<Type>& result) const \
{ \
scale_impl(a, result, alpha); \
}
Expand Down

0 comments on commit 8e84e68

Please sign in to comment.