[#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:
Leonard Lyubich 2021-02-10 19:46:54 +03:00 committed by Alex Vanin
parent e63f9faab8
commit 687c7d3b4a

View file

@ -140,7 +140,7 @@ func (cc *coordinateCode) hemisphere() (h [hemisphereSymbols]uint8) {
// North returns true for the northern hemisphere.
func (h LatitudeHemisphere) North() bool {
return h[0] == 'W'
return h[0] == 'N'
}
// East returns true for the eastern hemisphere.