Skip to content

Comments

improved ill-posed integer rounding#2089

Open
JayHuLBL wants to merge 5 commits intomasterfrom
issue2088_illPosed_integer_rounding
Open

improved ill-posed integer rounding#2089
JayHuLBL wants to merge 5 commits intomasterfrom
issue2088_illPosed_integer_rounding

Conversation

@JayHuLBL
Copy link
Contributor

This closes #2088.

Copy link
Contributor

@mwetter mwetter left a comment

Choose a reason for hiding this comment

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

This still has potential rounding issues.

Copy link
Contributor

@mwetter mwetter left a comment

Choose a reason for hiding this comment

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

This looks good now.

@mwetter mwetter requested a review from jelgerjansen February 24, 2026 13:50
@mwetter
Copy link
Contributor

mwetter commented Feb 24, 2026

@jelgerjansen : can you please provide a review so we have a non-LBL participant approving it. Thanks.

Copy link
Contributor

@jelgerjansen jelgerjansen left a comment

Choose a reason for hiding this comment

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

@JayHuLBL thanks for looking into this.

I noticed that you still applied some changes (commit 10f3e56) since Michael's approved review (commit 8462d07). Why did you split the initialization event, which is now still using the integer() implementation, from the runtime events, using the numerically more robust implementation?

Additionally, can you also:

  1. Move the documentation (lines 23-24) to the correct part of the code (modTimAux > pre(tNext))?
  2. Refer to the IBPSA issue next to the Buildings issue in the review notes (for completeness)?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ill-posed integer rounding

3 participants