Commit 3348cead authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

fixed typo

parent a4df4c79
...@@ -161,7 +161,7 @@ int read_allogg2_data( ...@@ -161,7 +161,7 @@ int read_allogg2_data(
void correct_scanditronics(struct Blood *blood, int verbose); void correct_scanditronics(struct Blood *blood, int verbose);
int correct_allogg(struct Blood *blood); int correct_allogg(struct Blood *blood);
int correct_allogg2(struct Blood *blood, int verbose); int correct_allogg2(struct Blood *blood, int verbose);
void substract_background(struct Blood *blood); void subtract_background(struct Blood *blood);
int get_calfactors(const char *file,time_t bloodt, double *wcf, int get_calfactors(const char *file,time_t bloodt, double *wcf,
double *pumpf, int pump, char *isotope, char *caldate, int verbose); double *pumpf, int pump, char *isotope, char *caldate, int verbose);
int find_date(char *str, struct Blood *blood, int verbose); int find_date(char *str, struct Blood *blood, int verbose);
...@@ -385,7 +385,7 @@ int main(int argc, char *argv[]) ...@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
/* Subtract background radiation; must be done before decay correction */ /* Subtract background radiation; must be done before decay correction */
if(blood.background>0.0) { if(blood.background>0.0) {
if(verbose>=0) printf("subtracting background\n"); if(verbose>=0) printf("subtracting background\n");
substract_background(&blood); subtract_background(&blood);
} else if(blood.background<-1.0) { } else if(blood.background<-1.0) {
if(format==ALLOGG || format==ALLOGG2) { if(format==ALLOGG || format==ALLOGG2) {
if(calfile[0]) { if(calfile[0]) {
...@@ -1252,7 +1252,7 @@ int correct_allogg2( ...@@ -1252,7 +1252,7 @@ int correct_allogg2(
/*****************************************************************************/ /*****************************************************************************/
/** Subtract background radiation values */ /** Subtract background radiation values */
void substract_background( void subtract_background(
/** Blood data structure for correction. */ /** Blood data structure for correction. */
struct Blood *blood struct Blood *blood
) { ) {
......
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