Skip to content

Commit

Permalink
Fix guess_point_type
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 19, 2018
1 parent 1974bbd commit 28e8f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codim1/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function guess_point_type(::Continuous, cache, eigvals, opts)
old = real(cache.eigvals[1])
new = real(eigvals[1])
if old * new < 0
e1 = mean(cache.eigvals[1], eigvals[1])
e1 = mean((cache.eigvals[1], eigvals[1]))
if imag(e1) > opts.atol
return PointTypes.hopf
else
Expand Down

0 comments on commit 28e8f22

Please sign in to comment.