From 3a33b0e947c9f9426713a1e8bd0ea453ecdd2e6f Mon Sep 17 00:00:00 2001 From: Jan Reher <jreher@ep1.rub.de> Date: Fri, 16 Apr 2021 13:36:15 +0200 Subject: [PATCH] Fixed inaccuracy in output produced by getBatch --- getbatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getbatch.cpp b/getbatch.cpp index 47a9d71..ab8c3aa 100644 --- a/getbatch.cpp +++ b/getbatch.cpp @@ -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; -- GitLab