Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects

Resolve "Compiler warnings from unit and IPPL tests"

Merged snuverink_j requested to merge 472-compiler-warnings-from-unit-tests into master
All threads resolved!
7 files
+ 17
19
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -14,7 +14,7 @@
#include <fstream>
using namespace std;
vector< vector<double> > partialsDerivB(const Vector_t &R,const Vector_t B, double stepSize, SBendRep* dummyField)
vector< vector<double> > partialsDerivB(const Vector_t &R,const Vector_t /*B*/, double stepSize, SBendRep* dummyField)
{
// builds a matrix of all partial derivatives of B -> dx_i B_j
vector< vector<double> > allPartials(3, vector<double>(3));
@@ -35,7 +35,7 @@ vector< vector<double> > partialsDerivB(const Vector_t &R,const Vector_t B, doub
return allPartials;
}
vector< vector<double> > partialsDerivB_5(const Vector_t &R,const Vector_t B, double stepSize, SBendRep* dummyField)
vector< vector<double> > partialsDerivB_5(const Vector_t &R,const Vector_t /*B*/, double stepSize, SBendRep* dummyField)
{
// builds a matrix of all partial derivatives of B -> dx_i B_j
vector< vector<double> > allPartials(3, vector<double>(3));
@@ -206,4 +206,4 @@ TEST(Quad, Quadrupole)
gout.close();
cout<<"length: "<<quad->getElementLength()<<endl;
}
}
\ No newline at end of file
Loading