Skip to content

Commit

Permalink
Use === to compare Int
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagnac committed Sep 23, 2024
1 parent 8393d83 commit d39ff9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zernike.jl
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function Z(m::Int, n::Int)
if μ == n
λ = [zeros(n); 1.0]
γ = [1.0]
elseif n < 21 && Int == Int64
elseif n < 21 && Int Int64
γ = canonical(μ, n, k)
λ = zeros(n+1)
λ[ν.+1] = γ
Expand Down

0 comments on commit d39ff9a

Please sign in to comment.