Skip to content

Commit

Permalink
remove leftover simd
Browse files Browse the repository at this point in the history
  • Loading branch information
stokasto committed Dec 1, 2014
1 parent 08ce2bb commit 78d6250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function apply_l2_cons!{T <: FloatingPoint}(sys::System{CPUBackend}, blob::CPUBl
coef::FloatingPoint, ninputs::Integer, nunits::Integer)
param = reshape(blob.data, (ninputs, nunits))
# we constrain each column vector
@simd for i = 1:nunits
for i = 1:nunits
# compute norm and scale using blas
norm = vecnorm(param[:, i])
if norm > coef
Expand Down

0 comments on commit 78d6250

Please sign in to comment.