Commit c382675a authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

fixed typo

parent 3348cead
......@@ -194,7 +194,7 @@ int test_imgArithm(
printf("\n Test SUCCESFULL: imgArithm() sum operation exited with: %i\n",error_code);
}
// Substract and check (expected result = 0):
// Subtract and check (expected result = 0):
operation = '-';
error_code = imgArithm(img1,img2,operation,10000000,0);
if(!error_code){
......@@ -211,12 +211,12 @@ int test_imgArithm(
}
if(error_code){
if(VERBOSE)
printf("\n Test FAILED: imgArithm() substract operation failed with error code: %i\n",
printf("\n Test FAILED: imgArithm() subtract operation failed with error code: %i\n",
error_code);
return(error_code);
} else {
if(VERBOSE)
printf("\n Test SUCCESFULL: imgArithm() substract operation exited with: %i\n",
printf("\n Test SUCCESFULL: imgArithm() subtract operation exited with: %i\n",
error_code);
}
......@@ -319,7 +319,7 @@ int test_imgArithm(
error_code);
}
// Substract one from previous image buffer and check (expected result = mask):
// Subtract one from previous image buffer and check (expected result = mask):
operation = '-';
operand = 1.;
error_code = imgArithmConst(img1,operand,operation,10000000,0);
......@@ -337,12 +337,12 @@ int test_imgArithm(
}
if(error_code){
if(VERBOSE)
printf("\n Test FAILED: imgArithmConst() substract operation failed with error code: %i\n",
printf("\n Test FAILED: imgArithmConst() subtract operation failed with error code: %i\n",
error_code);
return(error_code);
} else {
if(VERBOSE)
printf("\n Test SUCCESFULL: imgArithmConst() substract operation exited with: %i\n",
printf("\n Test SUCCESFULL: imgArithmConst() subtract operation exited with: %i\n",
error_code);
}
......
......@@ -38,7 +38,7 @@ static char *info[] = {
" Dry run: background is shown but data is not changed.",
" -stdoptions", // List standard options like --help, -v, etc
" ",
"Example 1: calculate background from 0-60 s and substract it.",
"Example 1: calculate background from 0-60 s and subtract it.",
" @P -o=us1328_corr.bld us1328.bld 60",
"Example 2: calculate mean radioactivity [cps] from the measurement.",
" @P --dry us1328.bld 999999",
......
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