Skip to content

Commit

Permalink
Cosmetic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Sep 14, 2024
1 parent 7443a40 commit 6369c20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img alt="NASAPrecipitation.jl Logo" src=https://raw.githubusercontent.com/GeoRegionsEcosystem/GeoRegions.jl/main/src/logosmall.png />
<img alt="GeoRegions.jl Logo" src=https://raw.githubusercontent.com/GeoRegionsEcosystem/GeoRegions.jl/main/src/logosmall.png />
</p>

# **<div align="center">GeoRegions.jl</div>**
Expand Down
12 changes: 6 additions & 6 deletions src/georegions/is.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
==(a::T, b::T) where T <: RectRegion =
getfield.(Ref(a),fieldnames(T)) == getfield.(Ref(b),fieldnames(T))
==(geo1::T, geo2::T) where T <: RectRegion =
getfield.(Ref(geo1),fieldnames(T)) == getfield.(Ref(geo2),fieldnames(T))

==(a::T, b::T) where T <: PolyRegion =
getfield.(Ref(a),fieldnames(T)) == getfield.(Ref(b),fieldnames(T))
==(geo1::T, geo2::T) where T <: PolyRegion =
getfield.(Ref(geo1),fieldnames(T)) == getfield.(Ref(geo2),fieldnames(T))

==(a::T, b::T) where T <: TiltRegion =
getfield.(Ref(a),fieldnames(T)) == getfield.(Ref(b),fieldnames(T))
==(geo1::T, geo2::T) where T <: TiltRegion =
getfield.(Ref(geo1),fieldnames(T)) == getfield.(Ref(geo2),fieldnames(T))

function isGeoRegion(
geo :: GeoRegion;
Expand Down

0 comments on commit 6369c20

Please sign in to comment.