We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fcdf6 commit 8a7b65fCopy full SHA for 8a7b65f
igrf/igrf.go
@@ -34,7 +34,7 @@ func New() *IGRFdata {
34
// date - decimal date (1900.00 to 2025).
35
func (igd *IGRFdata) IGRF(lat, lon, alt, date float64) (IGRFresults, error) {
36
if igd.shc == nil {
37
- return IGRFresults{}, errors.New("IGRFdata structure is not initialized.")
+ return IGRFresults{}, errors.New("IGRFdata structure is not initialized")
38
}
39
if err := checkInitialConditions(lat, lon, alt); err != nil {
40
return IGRFresults{}, err
0 commit comments