From 7e6366d689b9593aab0920fc8c830f4c4f29dcae Mon Sep 17 00:00:00 2001 From: getzdan Date: Sat, 27 May 2017 16:31:49 +0300 Subject: [PATCH] Quick change to fix #30 This is a quick fixup which was tested on latest 0.6 and master. Before merging tests on other versions are appropriate. --- src/auxiliary/meta.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auxiliary/meta.jl b/src/auxiliary/meta.jl index e72c6957..06ad24e6 100644 --- a/src/auxiliary/meta.jl +++ b/src/auxiliary/meta.jl @@ -80,7 +80,7 @@ function _stridedloops(N::Int, dims::Symbol, args...) forex = Expr(:(=), gensym(), rangeex) ex = Expr(:for, forex, ex) if d==1 - ex = Expr(:macrocall, Symbol("@simd"), ex) + ex = Expr(:macrocall, Symbol("@simd"), LineNumberNode(@__LINE__), ex) end end pre = [Expr(:(=),Symbol(args[i],N),args[i+1]) for i in argiter]