Skip to content
Snippets Groups Projects
Commit 3a33b0e9 authored by Jan Reher's avatar Jan Reher
Browse files

Fixed inaccuracy in output produced by getBatch

parent b2b533c0
No related branches found
No related tags found
1 merge request!4Many proven updates being brought into stable branch.
......@@ -35,7 +35,7 @@ int main(int argc, char* argv[]) {
for (size_t i = 0 ; i < apdSerials.size() ; i++ ) {
if (apdSerials[i].size() == 9) apdSerials[i] = "0" + apdSerials[i];
cout << "S/N: " << apdSerials[i] << " New: " << _dba->getBatchNew( uint( stoul( apdSerials[i] ) ) ) << " Old: " << _dba->getBatchIrr( uint( stoul( apdSerials[i] ) ) ) << endl;
cout << "S/N: " << apdSerials[i] << " New: " << _dba->getBatchNew( uint( stoul( apdSerials[i] ) ) ) << " Irradiated: " << _dba->getBatchIrr( uint( stoul( apdSerials[i] ) ) ) << endl;
}
return 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