Skip to content

Commit 0888d7b

Browse files
committed
Quote operation in error message.
1 parent f8d3762 commit 0888d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/GPUArraysCore/src/GPUArraysCore.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function assertscalar(op = "operation")
117117
end
118118

119119
@noinline function _assertscalar(op, behavior)
120-
desc = """Invocation of $op resulted in scalar indexing of a GPU array.
120+
desc = """Invocation of '$op' resulted in scalar indexing of a GPU array.
121121
This is typically caused by calling an iterating implementation of a method.
122122
Such implementations *do not* execute on the GPU, but very slowly on the CPU,
123123
and therefore should be avoided.

0 commit comments

Comments
 (0)