Permalink
Browse files

touched documentation

  • Loading branch information...
1 parent 6887039 commit c22a2f930482c3f9f9d6d1a337afd3ad151ef132 @ddemidov committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 vexcl/vexcl.hpp
View
@@ -209,8 +209,8 @@ vector expressions:
\code
// Function body has to be defined at global scope, and it has to be of `extern
// const char[]` type. This allows us to use it as a template parameter.
-extern const char one_greater_than_other[] = "return prm1 > prm2 ? 1 : 0;";
-UserFunction<one_greater_than_other, size_t(float, float)> greater;
+extern const char greater_body[] = "return prm1 > prm2 ? 1 : 0;";
+UserFunction<greater_body, size_t(float, float)> greater;
size_t count_if_greater(
const Reductor<size_t, SUM> &sum,

0 comments on commit c22a2f9

Please sign in to comment.