binary io
This commit is contained in:
@@ -71,7 +71,7 @@ int uk(
|
||||
}
|
||||
|
||||
// save final entry to savefile
|
||||
write_u(u, K1, K2, savefile);
|
||||
write_u_bin(u, K1, K2, savefile);
|
||||
|
||||
ns_free_tmps(u, tmp1, tmp2, tmp3, fft1, fft2, ifft);
|
||||
return(0);
|
||||
@@ -242,6 +242,7 @@ int eea(
|
||||
if (savefile==NULL){
|
||||
savefile=stderr;
|
||||
}
|
||||
|
||||
fprintf(savefile,"# Interrupted computation. Resume with\n");
|
||||
// command to resume
|
||||
fprintf(savefile,"#! ");
|
||||
@@ -265,7 +266,11 @@ int eea(
|
||||
}
|
||||
|
||||
// save final entry to savefile
|
||||
write_u(u, K1, K2, savefile);
|
||||
if(savefile==stderr || savefile==stdout){
|
||||
write_u(u, K1, K2, savefile);
|
||||
} else {
|
||||
write_u_bin(u, K1, K2, savefile);
|
||||
}
|
||||
|
||||
if(running_avg_window!=0){
|
||||
free(save_print_e);
|
||||
|
||||
Reference in New Issue
Block a user