Maintenance / Minor changes#1272
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1272 +/- ##
==========================================
- Coverage 24.77% 24.76% -0.01%
==========================================
Files 169 169
Lines 19598 19598
==========================================
- Hits 4855 4854 -1
- Misses 14743 14744 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Looks good. I see you're using some new C++17 constructs, I guess no-one noticed the minimum dew point issue, since even the correct minimum dew point temperature is fairly close to absolute zero. |
Yep ! Thank you for letting me know about this feature 👍
Indeed but I figured this out while investigating this issue from FlightGear where users are complaining JSBSim is issuing too many console messages. It was incidental because it does not fix the issue but it is a bug anyway. In addition, the FlightGear devs are concerned that I am submitting the fix to FlightGear before it is included in JSBSim. Hence this PR which will sync both code bases. |
Hmm, I'm a bit confused. When I looked at your commit I noticed the extra statements in some of the
So by using the |
No, no you mentioned it first: #1094 (comment) 😉 I remember that because your post made me make a mental note that this syntax could be convenient. |
|
Aaaah, yes, you're right, my memory is fading 😉 |
This PR brings a number of minor changes and fixes:
minDewPointinFGStandardAtmospherewhere the minus sign in the formula was misplaced.getenvbecausegetenvhas a no throw guarantee.std::stringfor the buffer ofFGLogConsole. We do not need all the features ofstd::ostringstream