Skip to content

Commit

Permalink
Revert random change (fixes tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
halleysfifthinc committed Jan 23, 2024
1 parent f9ab0f2 commit 75a588e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/peakwidth.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ function peakwidths!(
V1 = promote_type(T, U)
_bad = Missing <: V1 ? missing : float(Int)(NaN)

V_ = promote_type(V1, typeof(_bad)) # temp variable used in next line
V = typeof(one(V_)/one(V_)) # We will insert the results of divisions.
V = promote_type(V1, typeof(_bad))
ledge = similar(proms, V)
redge = similar(proms, V)

Expand Down

0 comments on commit 75a588e

Please sign in to comment.