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

ICRAR / libprofit / 42
90%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2016 07:16AM UTC
Jobs 1
Files 31
Run time 2s
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
42

push

travis-ci

rtobar
Removing usage of lambdas

Because these functions were called from within the innermost loop of the
radial profile they were actually imposing a bit of an overhead on the
runtimes. I've changed the radial classes so their evaluate_at method is called
directly (which is the nicest thing to do, of course). The sersic class (the
source of all this added complexity because of its templated special cases)
instantiates internally the templated functions with all the different
parameters when overloading the main evaluate method. This function pointer is
stored in the class and used to call the corresponding templated function at
evaluate_at() time.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

29 of 29 new or added lines in 2 files covered. (100.0%)

720 of 764 relevant lines covered (94.24%)

5611934.74 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
profit/radial.h
2
100.0
src/moffat.cpp
3
100.0
src/king.cpp
3
100.0
src/ferrer.cpp
3
100.0
src/coresersic.cpp
4
100.0
src/brokenexponential.cpp
6
100.0
src/sersic.cpp
Jobs
ID Job ID Ran Files Coverage
1 42.1 (CXXFLAGS="-coverage" LDFLAGS="-coverage" COMPILER=g++-4.9) 05 Dec 2016 07:16AM UTC 0
94.24
Travis Job 42.1
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • 5ee00d80 on github
  • Prev Build on master (#41)
  • Next Build on master (#43)
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