Advanced Computing Platform for Theoretical Physics

Commit c7314f9a authored by cpviolator's avatar cpviolator
Browse files

remove integer comparison warning

parent 4de269a0
......@@ -297,7 +297,7 @@ namespace quda
void EigenSolver::computeEvals(const DiracMatrix &mat, std::vector<ColorSpinorField *> &evecs,
std::vector<Complex> &evals, int size)
{
if (size > evecs.size() || size > evals.size())
if (size > (int)evecs.size() || size > (int)evals.size())
errorQuda("Requesting %d eigenvalues with only storage allocated for %lu", size, evals.size());
ColorSpinorParam csParam(*evecs[0]);
std::vector<ColorSpinorField *> temp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment