Skip to content

Minor fixes, typos#30

Open
brgix wants to merge 2 commits intodevelopfrom
fixes
Open

Minor fixes, typos#30
brgix wants to merge 2 commits intodevelopfrom
fixes

Conversation

@brgix
Copy link
Copy Markdown
Member

@brgix brgix commented Apr 21, 2026

Fixes typos and other minor issues, identified while updating pyOSut.

No meaningful change in results.

@brgix brgix self-assigned this Apr 21, 2026
@brgix brgix added the bug Something isn't working label Apr 21, 2026
Comment thread lib/osut/utils.rb

unless mt.setThermalResistance(r)
return invalid("Failed #{id}: RSi#{r.round(2)}", mth)
return invalid("Failed #{id}: RSi#{r.round(2)}", mth, 0, DBG, 0.0)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method filmResistances() returns a real number - not the defaulted nil.

Comment thread spec/osut_tests_spec.rb

r1 = OpenStudio::Model::PlanarSurface.stillAirFilmResistance(tilt) * 2
r2 = surface.filmResistance
r2 = adjacent.filmResistance
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant