Skip to content

Commit

Permalink
Fixed a performance test issue caused by removing ne
Browse files Browse the repository at this point in the history
Signed-off-by: quxiaofeng <xiaofeng.qu.hk@ieee.org>
  • Loading branch information
quxiaofeng committed Dec 14, 2015
1 parent cb60882 commit 96140bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/performance.jl
Expand Up @@ -52,7 +52,7 @@ tic()
for i=1:ClassNum
@inbounds tempMat = DictMat[i] * PredictCoef[(i-1)*DictSize+1:i*DictSize, :]
tempMat -= TtData
@inbounds ErrorSubtract[i,:] = sumsq(tempMat, 1)
@inbounds ErrorSubtract[i,:] = sum(abs2(tempMat), 1)
end
ErrorSubtractTime = toq()

Expand Down

0 comments on commit 96140bc

Please sign in to comment.