Skip to content

Commit

Permalink
Fix typo in CUDA nested_mul
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeR227 committed Dec 12, 2024
1 parent 13dd88e commit 1fed39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ mat_def_expr(computation_name::Symbol, factors::Vector{Symbol}, ::CPUBackend) =

nested_mul(factors) =
length(factors) == 1 ?
list[begin] :
factors[begin] :
Expr(:call, :*, nested_mul(factors[begin:end-1]), factors[end])

mat_def_expr(computation_name::Symbol, factors::Vector{Symbol}, ::CUDABackend) =
Expand Down

0 comments on commit 1fed39c

Please sign in to comment.