• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

powsybl / powsybl-core / 8556
85%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2019 09:25AM UTC
Jobs 4
Files 3210
Run time 17min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8556

push

travis-ci-com

MioRtia
time-series: fix CalculatedTimeSeries::split(int newchunksize)

In TimeSeries::split(list<Timeseries> list, int newchunksize), we access only
the first chunkcount elements of the returned list of this method.
Because it was returning chunksize elements instead of chunkcount elements, sometimes
we have more elements than we need and sometimes we have less. When we had more it was not
a problem (size of chunks > number of chunks) and some where just not used, but when we have less,
the array access in TimeSeries::split(list<Timeseries> list, int newchunksize)
would throw IndexOutOfBoundsException

Signed-off-by: Jon Harper <jon.harper87@gmail.com>

99666 of 118695 relevant lines covered (83.97%)

6.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8556.1 04 Oct 2019 09:25AM UTC 0
83.95
Travis Job 8556.1
2 8556.2 04 Oct 2019 09:26AM UTC 0
83.96
Travis Job 8556.2
3 8556.3 04 Oct 2019 09:31AM UTC 0
83.96
Travis Job 8556.3
4 8556.4 04 Oct 2019 09:41AM UTC 0
83.95
Travis Job 8556.4
Source Files on build 8556
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #8556
  • 0bf17839 on github
  • Prev Build on master (#8548)
  • Next Build on master (#8559)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc