question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong interval relation

See original GitHub issue

Hi,

The following code output OVERLAPS instead of the expected AFTER. What am I doing wrong?

        LongInterval i1 = new LongInterval(1L, 5L);
        LongInterval i2 = new LongInterval(8L, 10L);
        System.out.println(i1.ir(i2));

I’m using version 1.6.2.

Thanks, Carlos

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pmeisencommented, Dec 29, 2017

Hi,

the release was tagged to early on Github (I just recreated the release with the right source code). The Maven deployment is based on the right code, so it is good to use 1.6.4.

Best, Philipp

1reaction
pmeisencommented, Dec 28, 2017

Hi crypticmind!

Thanks for the bug-report. It is fixed in the newest version 1.6.4. The version will probably be available tomorrow (or earlier) on Maven Central.

Btw. the result should have been BEFORE [1, 5] is before [8, 10].

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find error interval of linear relationship - Cross Validated
Let us for example say that the variable from the better sensor drops by 20%, if the error interval was 5%, then the...
Read more >
Interval arithmetic - Wikipedia
Interval arithmetic is a mathematical technique used to put bounds on rounding errors and measurement errors in mathematical computation.
Read more >
Confidence Intervals, Margins of Error, and Confidence Levels ...
A confidence-interval calculation gives a probabilistic estimate of how well a metric obtained from a study explains the behavior of your ...
Read more >
Confidence Intervals - Statistics Teaching Tools
Wider confidence intervals in relation to the estimate itself indicate instability. For example, if 5 percent of voters are undecided, but the margin...
Read more >
Margin of Error vs. Confidence Interval: What's the Difference?
Margin of Error vs. Confidence Interval: What's the Difference? Often in statistics we use confidence intervals to estimate the value of a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found