Skip to content

Commit

Permalink
Make FGInertial::GetGM const (JSBSim-Team#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsunderland1 authored Oct 26, 2024
1 parent 0f00b80 commit 65acca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/FGInertial.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class JSBSIM_API FGInertial : public FGModel {
}
double GetSemimajor(void) const {return a;}
double GetSemiminor(void) const {return b;}
double GetGM(void) {return GM;}
double GetGM(void) const {return GM;}

/** @name Functions that rely on the ground callback
The following functions allow to set and get the vehicle position above
Expand Down

0 comments on commit 65acca5

Please sign in to comment.