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

marshallward / f90nml / 207
99%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2016 10:48AM UTC
Jobs 6
Files 5
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

pending completion
207

push

travis-ci

marshallward
Vector index output with no start index

The changes to make vectors agnostic to start index led to unexpected
behaviour.  In particular, the following record

    v = 1, 2, 3

would be output as

    v(:) = 1, 2, 3

which, if re-read and saved, would become

    v(1:3) = 1, 2, 3

which would incorrectly replace an unspecified initial index with 1.

We now preserve the initial state, so that unindexed vectors (`v = ...`)
are preserved, and vector index symbols without bounds (`v(:) = ...`)
are output as vectors without bounds.

This introduced one minor bug related to multidimensional arrays.  Since
the outer axes are explicitly expanded per-line, this can only be done
with an explicit index.  If none exists, then we *incorrectly* use
1-based indexing.  This reproduces the only behaviour, but is not
consistent with the other 1-based index improvements.

This bug cannot be fixed until we come up with a more elegant and
general method for writing multidimensional arrays to file, which is a
larger project.

630 of 630 relevant lines covered (100.0%)

5.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 207.1 14 Sep 2016 10:49AM UTC 0
100.0
Travis Job 207.1
2 207.2 14 Sep 2016 10:48AM UTC 0
99.68
Travis Job 207.2
4 207.4 14 Sep 2016 10:49AM UTC 0
99.52
Travis Job 207.4
6 207.6 14 Sep 2016 10:49AM UTC 0
99.52
Travis Job 207.6
7 207.7 14 Sep 2016 10:50AM UTC 0
99.52
Travis Job 207.7
8 207.8 14 Sep 2016 10:49AM UTC 0
99.52
Travis Job 207.8
Source Files on build 207
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #207
  • de2c0361 on github
  • Prev Build on master (#206)
  • Next Build on master (#208)
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