Skip to content
Snippets Groups Projects
Commit f356aa2f authored by Matthias Steinke's avatar Matthias Steinke
Browse files

fixed an int-unsigend-comparison warning

parent 12efe226
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ void KMatrixBase::updateBgTerms(unsigned int order, unsigned int row, unsigned
Alert << "background parameter for order " << order << " not available!!!" << endmsg;
exit(0);
}
if(row>=NumRows() || column>=NumCols()){
if(int(row) >= NumRows() || int(column) >= NumCols()){
Alert << "row " << row << " or column " << column
<< " >= NumRows " << NumRows() << " or >= NumCols " << NumCols() << endmsg;
exit(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment