Skip to content

Commit 6ce5cb8

Browse files
mcrrobinsonleif81
andauthored
Apply suggestion from @leif81
Old habits die hard. Co-authored-by: Leif Gruenwoldt <leifer@gmail.com>
1 parent 103e99b commit 6ce5cb8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

opendis/RangeCoordinates.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ class GPS:
112112

113113
wgs84 = WGS84()
114114

115-
_IDENTITY_3X3 = array([[1., 0., 0.],
116-
[0., 1., 0.],
117-
[0., 0., 1.]])
115+
_IDENTITY_3X3 = identity(3)
118116

119117
def ecef2lla(self, ecef, tolerance=1e-9):
120118
"""Convert Earth-centered, Earth-fixed coordinates to lat, lon, alt.

0 commit comments

Comments
 (0)