Skip to content
Snippets Groups Projects
Commit 3348cead authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

fixed typo

parent a4df4c79
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ int read_allogg2_data(
void correct_scanditronics(struct Blood *blood, int verbose);
int correct_allogg(struct Blood *blood);
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,
double *pumpf, int pump, char *isotope, char *caldate, int verbose);
int find_date(char *str, struct Blood *blood, int verbose);
......@@ -385,7 +385,7 @@ int main(int argc, char *argv[])
/* Subtract background radiation; must be done before decay correction */
if(blood.background>0.0) {
if(verbose>=0) printf("subtracting background\n");
substract_background(&blood);
subtract_background(&blood);
} else if(blood.background<-1.0) {
if(format==ALLOGG || format==ALLOGG2) {
if(calfile[0]) {
......@@ -1252,7 +1252,7 @@ int correct_allogg2(
/*****************************************************************************/
/** Subtract background radiation values */
void substract_background(
void subtract_background(
/** Blood data structure for correction. */
struct Blood *blood
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment