Skip to content

Commit 0c6d877

Browse files
committed
badges + doxygen fix
1 parent 917ea60 commit 0c6d877

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ before_install:
5555
if [[ "$USE_GCOV" == "TRUE" ]]; then echo "USE_COVERAGE=1" >> config.sh;
5656
else
5757
echo "USE_COVERAGE=0" >> config.sh;
58-
fi;
58+
fi;
5959
6060
script:
6161
- |
@@ -66,7 +66,7 @@ script:
6666
fi;
6767
- |
6868
if [[ "$USE_DOCKER" == "TRUE" ]]; then
69-
if [[ "$USE_GCOV" == "TRUE" ]]; then
69+
if [[ "$USE_GCOV" == "TRUE" ]]; then
7070
docker run -it -v $(pwd):/root/repo nnvmc/base /bin/bash -c "cd /root/repo/test && ./run.sh";
7171
docker run -e TRAVIS=$TRAVIS -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -it -v $(pwd):/root/repo nnvmc/base /bin/bash -c "pip install cpp-coveralls && cd /root/repo/build && coveralls --verbose -b ./ -r ../ -i include -i src -x .cpp -x .hpp --gcov-options '\-lp'";
7272
else

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![Build Status](https://travis-ci.com/DCM-UPB/MCIntegratorPlusPlus.svg?branch=master)](https://travis-ci.com/DCM-UPB/MCIntegratorPlusPlus)
2+
[![Coverage Status](https://coveralls.io/repos/github/DCM-UPB/MCIntegratorPlusPlus/badge.svg?branch=travis)](https://coveralls.io/github/DCM-UPB/MCIntegratorPlusPlus?branch=travis)
3+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/4fb9f98862c7474b86c8ef88b501b454)](https://www.codacy.com/app/NNVMC/MCIntegratorPlusPlus?utm_source=github.com&utm_medium=referral&utm_content=DCM-UPB/MCIntegratorPlusPlus&utm_campaign=Badge_Grade)
4+
[![CodeFactor](https://www.codefactor.io/repository/github/dcm-upb/mcintegratorplusplus/badge)](https://www.codefactor.io/repository/github/dcm-upb/mcintegratorplusplus)
15

26
# MCIntegrator++
37

doc/doxygen/doxygen.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@ WARN_LOGFILE =
791791
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
792792
# Note: If this tag is empty the current directory is searched.
793793

794-
INPUT = "../../src" \
794+
INPUT = "../../include/mci" \
795+
"../../src" \
795796
"doxygen_stl.cpp"
796797

797798
# This tag can be used to specify the character encoding of the source files

src/Estimators.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,9 @@ namespace mci
257257
double ** err = new double*[MAX_BLOCKS-MIN_BLOCKS+1];
258258
for (int j=0; j<MAX_BLOCKS-MIN_BLOCKS+1; ++j){ *(err+j) = new double[ndim]; }
259259

260-
int nblocks;
261260
for (int i1=0; i1<MAX_BLOCKS-MIN_BLOCKS+1; ++i1)
262261
{
263-
nblocks=i1+MIN_BLOCKS;
262+
const int nblocks=i1+MIN_BLOCKS;
264263
MultiDimBlockEstimator(n, ndim, x, nblocks, *(av+i1), *(err+i1));
265264
}
266265

0 commit comments

Comments
 (0)