-
Notifications
You must be signed in to change notification settings - Fork 222
#5395 - Space infiltration helpers #5396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8ccec70 to
4445c9d
Compare
4445c9d to
4d5ed77
Compare
| #include <algorithm> | ||
| #include <cmath> | ||
| #include <iterator> | ||
| #include <ranges> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been wary of bringing ranges into OpenStudio due to MSVC lagging behind in supporting them, but I guess it works now! yay!
| auto& spi = spis[0]; | ||
| for (auto& spi : spis | std::views::drop(1)) { | ||
| spi.remove(); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First std::views spotted in OS SDK! yay!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh. I can't keep up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least I had the opportunity to learn something today. Thanks @jmarrec :)
|
CI Results for 51681d2:
|
| auto& spi = spis[0]; | ||
| for (auto& spi : spis | std::views::drop(1)) { | ||
| spi.remove(); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh. I can't keep up.
| auto& spi = spis[0]; | ||
| for (auto& spi : spis | std::views::drop(1)) { | ||
| spi.remove(); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least I had the opportunity to learn something today. Thanks @jmarrec :)
Pull request overview
Pull Request Author
src/model/test)src/energyplus/Test)src/osversion/VersionTranslator.cpp)Labels:
IDDChangeAPIChangePull Request - Ready for CIso that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.