Skip to content

Commit

Permalink
Two unused-var warnings in multiple-scatter program addressed, and RO…
Browse files Browse the repository at this point in the history
…OT min version more specific in the README. -MMS
  • Loading branch information
mszydagis committed Feb 9, 2022
1 parent e885051 commit 6ca29f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ In order to compile and run NEST, the following are required:
The following are optional, depending on intended use of NEST:

* GEANT4 (tested as high as Geant4.10.7.p01)
* ROOT (version 6 or higher: tested on 6.24/04 most recently on Mac OSX, 6.24/06 on CentOS 7)
* ROOT (version 6.22/04 or higher, as it breaks on 6.22/03, ever since C++17 switchover: tested on 6.24/04 most recently on Mac OSX, 6.24/06 on CentOS 7)

<a name="config"></a>
### Running CMake
Expand Down
4 changes: 2 additions & 2 deletions examples/multipleScatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int main(int argc, char **argv) {
// open the first file and get the S1, S2, and their correction factors
FILE *file1 = fopen(argv[4], "r");
double a, b, c, d, e, f, g, h, i, j, k, l, m, n;
int ch, nLines = 0, o;
int ch, nLines = 0;
vector<double> S1a, S2a;
vector<double> S1a_corFactor, S2a_corFactor;
if (verbosity) {
Expand Down Expand Up @@ -115,7 +115,7 @@ int main(int argc, char **argv) {
// Load the 2nd file if provided, and stitch the two together to make multiple scatter events
// scatters
FILE *file2 = fopen(argv[5], "r");
ch, nLines = 0, o;
ch, nLines = 0;
double a2, b2, c2, d2, e2, f2, g2, h2, i2, j2, k2, l2, m2, n2;
vector<double> S1b, S2b;
vector<double> S1b_corFactor, S2b_corFactor;
Expand Down

0 comments on commit 6ca29f2

Please sign in to comment.