Skip to content
Snippets Groups Projects
Commit ff290e8c authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added crash

Related to #175
parent 417de552
No related branches found
No related tags found
No related merge requests found
...@@ -224,6 +224,7 @@ void Histogram::performAnalysis(){ ...@@ -224,6 +224,7 @@ void Histogram::performAnalysis(){
Grid* gg; IFile oldf; oldf.link(*this); Grid* gg; IFile oldf; oldf.link(*this);
if( usingMemory() && oldf.FileExist(gridfname) ){ if( usingMemory() && oldf.FileExist(gridfname) ){
if(fenergy) error("FREE-ENERGY only works with USE_ALL_DATA");
oldf.open(gridfname); oldf.open(gridfname);
gg = Grid::create( "probs", getArguments(), oldf, gmin, gmax, gbin, false, false, false ); gg = Grid::create( "probs", getArguments(), oldf, gmin, gmax, gbin, false, false, false );
oldf.close(); oldf.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment