X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=nlsop.c;h=87b551bed15b9014d07b72e3e1d087ec7484a5a2;hb=bff06b2b371ba4a6524a01804600a9ac2b6cb304;hp=4ff1d6e55f0cfbfa63109cb64dbd400818f536e2;hpb=40dfea76e1d7217b798999a5ffdca318ee951b81;p=physik%2Fnlsop.git diff --git a/nlsop.c b/nlsop.c index 4ff1d6e..87b551b 100644 --- a/nlsop.c +++ b/nlsop.c @@ -402,10 +402,10 @@ int main(int argc,char **argv) strcpy(a_txt,"args:"); sprintf(s_txt,"steps: %d",my_info.steps); sprintf(r_txt,"pressure range: %d",my_info.range); - sprintf(ap_txt,"p faktor: %.2f",my_info.a_ap); - sprintf(ap2_txt,"p offset: %.2f",my_info.b_ap); - sprintf(el_txt,"e loss slope: %.2f",my_info.a_el); - sprintf(el2_txt,"e loss offset: %.2f",my_info.b_el); + sprintf(ap_txt,"pressure faktor: %.2f",my_info.a_ap); + sprintf(ap2_txt,"pressure offset: %.2f",my_info.b_ap); + sprintf(el_txt,"energy loss slope: %.2f",my_info.a_el); + sprintf(el2_txt,"energy loss offset: %.2f",my_info.b_el); sprintf(cd_txt,"c distrib slope: %.2f",my_info.a_cd); sprintf(cd2_txt,"c distrib offset: %.2f",my_info.b_cd); arg_v[1]=x_txt; @@ -473,5 +473,7 @@ int main(int argc,char **argv) scan_event(&d3_l,&x,&y,&z,&quit,&escape); } + d3_lattice_release(&d3_l); + return 1; }