Skip to content
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

Fix Interval.Horizon #1154

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Fix Interval.Horizon #1154

merged 1 commit into from
Oct 11, 2023

Conversation

JoelCourtney
Copy link
Contributor

  • Tickets addressed: none
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

The result currently returned by Interval.Horizon() is an interval from Duration.MIN_VALUE to Duration.MAX_VALUE. I wrote that code, and I cannot fathom why I made that decision, when the planning horizon is readily accessible in that function already. I'm here to atone for my mistakes.

Verification

Wrote an AST test to make sure the result equals the plan bounds.

Documentation

Future work

@JoelCourtney JoelCourtney added fix A bug fix constraints Anything related to the constraints domain labels Sep 26, 2023
@JoelCourtney JoelCourtney requested a review from a team as a code owner September 26, 2023 20:12
@JoelCourtney JoelCourtney temporarily deployed to e2e-test September 26, 2023 20:12 — with GitHub Actions Inactive
@JoelCourtney JoelCourtney temporarily deployed to e2e-test October 4, 2023 19:02 — with GitHub Actions Inactive
@JoelCourtney JoelCourtney temporarily deployed to e2e-test October 11, 2023 19:00 — with GitHub Actions Inactive
@JoelCourtney JoelCourtney merged commit 5204fb5 into develop Oct 11, 2023
6 checks passed
@JoelCourtney JoelCourtney deleted the fix/interval-horizon branch October 11, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
constraints Anything related to the constraints domain fix A bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants