Skip to content

Commit 8a7b65f

Browse files
author
Michael Sh
committed
Typo fixed
1 parent a3fcdf6 commit 8a7b65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

igrf/igrf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func New() *IGRFdata {
3434
// date - decimal date (1900.00 to 2025).
3535
func (igd *IGRFdata) IGRF(lat, lon, alt, date float64) (IGRFresults, error) {
3636
if igd.shc == nil {
37-
return IGRFresults{}, errors.New("IGRFdata structure is not initialized.")
37+
return IGRFresults{}, errors.New("IGRFdata structure is not initialized")
3838
}
3939
if err := checkInitialConditions(lat, lon, alt); err != nil {
4040
return IGRFresults{}, err

0 commit comments

Comments
 (0)