We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a11f0b commit 5db31f3Copy full SHA for 5db31f3
src/meshgrids/imfreq.jl
@@ -95,7 +95,7 @@ function ImFreq(dlr::DLRGrid;
95
if rev
96
grid = reverse(grid)
97
end
98
- if (grid isa AbstractGrid) == false
+ if !(grid isa AbstractGrid)
99
grid = SimpleG.Arbitrary{Int}(grid)
100
101
@assert eltype(grid) <: Int "Matsubara-frequency grid should be Int."
0 commit comments