Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 committed Jul 16, 2017
1 parent 0f05d3d commit 9b12023
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchmarks/optimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ optRes *= "List realpart: $t_list\n"

optRes *= "Constructing Dual numbers: \n"

dps = zeros(44); dps[11] = 1;

t_dualnumbers = @elapsed for _ = 1:(44*2000*5) ForwardDiff.Dual(1.1, dps...) end

optRes *= "44*2000*5 times: $t_dualnumbers\n"
Expand Down

0 comments on commit 9b12023

Please sign in to comment.