Skip to content

Uninitialized variable in method "resetUo" #24

Description

@brgix

In method resetUo (Line 533):

unless mt.setThermalResistance(r)
  return invalid("Failed #{id}: RSi#{de_r.round(2)}", mth)
end

... variable de_r is never initialized. Should be r.

And log message too verbose for OSlg invalid method: use OSlg log instead.


This is repeated on lines 567 and 571.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions