Skip to content

Commit

Permalink
modify the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ATTron committed Jul 7, 2024
1 parent 353ea6d commit d318b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub fn main() !void {
\\2 55909 43.9978 311.8012 0011446 278.6226 81.3336 15.05761711 71371
;
var tle = try TLE.parse(raw_tle, gpa);
var tle = try TLE.parse(raw_tle, allocator);
defer tle.deinit();
tle.output();
Expand Down Expand Up @@ -122,7 +122,7 @@ pub fn main() !void {
\\2 55909 43.9978 311.8012 0011446 278.6226 81.3336 15.05761711 71371
;
var tle = try TLE.parse(raw_tle, gpa);
var tle = try TLE.parse(raw_tle, allocator);
defer tle.deinit();
var test_sc = Spacecraft.create("dummy_sc", test_tle, 300.000, spacecraft.Satellite_Size.Cube, constants.earth, allocator);
Expand Down

0 comments on commit d318b3f

Please sign in to comment.