Skip to content
Snippets Groups Projects
Commit 484c45b3 authored by Claudio Gheller's avatar Claudio Gheller
Browse files

Bug fix

parent 64adac63
No related branches found
No related tags found
No related merge requests found
...@@ -431,6 +431,9 @@ if(rank == 0){ ...@@ -431,6 +431,9 @@ if(rank == 0){
fread(weights,(Nweights)*sizeof(float),1,pFile); fread(weights,(Nweights)*sizeof(float),1,pFile);
fclose(pFile); fclose(pFile);
strcpy(filename,datapath);
strcat(filename,visrealfile);
pFile = fopen (filename,"rb"); pFile = fopen (filename,"rb");
fseek (pFile,startrow*freq_per_chan*polarisations*sizeof(float),SEEK_SET); fseek (pFile,startrow*freq_per_chan*polarisations*sizeof(float),SEEK_SET);
fread(visreal,Nvis*sizeof(float),1,pFile); fread(visreal,Nvis*sizeof(float),1,pFile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment