Skip to content

Commit 7e8e6df

Browse files
committed
Don't default to 'operation'.
1 parent 0888d7b commit 7e8e6df

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
@@ -97,7 +97,7 @@ end
9797
Assert that a certain operation `op` performs scalar indexing. If this is not allowed, an
9898
error will be thrown ([`allowscalar`](@ref)).
9999
"""
100-
function assertscalar(op = "operation")
100+
function assertscalar(op::String)
101101
behavior = get(task_local_storage(), :ScalarIndexing, nothing)
102102
if behavior === nothing
103103
behavior = requested_scalar_indexing[]

0 commit comments

Comments
 (0)