[#316] locode/column: Fix LatitudeHemisphere.North method implementation
North method must return true if hemisphere char is `N`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e63f9faab8
commit
687c7d3b4a
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ func (cc *coordinateCode) hemisphere() (h [hemisphereSymbols]uint8) {
|
||||||
|
|
||||||
// North returns true for the northern hemisphere.
|
// North returns true for the northern hemisphere.
|
||||||
func (h LatitudeHemisphere) North() bool {
|
func (h LatitudeHemisphere) North() bool {
|
||||||
return h[0] == 'W'
|
return h[0] == 'N'
|
||||||
}
|
}
|
||||||
|
|
||||||
// East returns true for the eastern hemisphere.
|
// East returns true for the eastern hemisphere.
|
||||||
|
|
Loading…
Reference in a new issue