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

powsybl / powsybl-core / 8556 / 3
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2019 09:31AM UTC
Files 1070
Run time 1min
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

04 Oct 2019 09:07AM UTC coverage: 83.955% (+0.001%) from 83.954%
8556.3

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>

33221 of 39570 relevant lines covered (83.96%)

1.54 hits per line

Source Files on job 8556.3
  • Tree
  • List 0
  • Changed 20
  • Source Changed 3
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7023
  • Travis Job 8556.3
  • 0bf17839 on github
  • Prev Job for on master (#8548.2)
  • Next Job for on master (#8559.2)
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