Skip to content
Snippets Groups Projects
Commit 8076608f authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Merge branch 'issue-71' into v2.0

parents 3ce75ca8 f2015b41
No related branches found
No related tags found
No related merge requests found
......@@ -27,5 +27,15 @@ HISTOGRAM ...
RUN=1
... HISTOGRAM
HISTOGRAM ...
ARG=x
USE_ALL_DATA
GRID_MIN=0.0
GRID_MAX=3.0
GRID_BIN=100
BANDWIDTH=0.1
GRID_WFILE=histoC
... HISTOGRAM
......@@ -212,7 +212,7 @@ void Analysis::calculate(){
// Don't store the first step (also don't store if we are getting data from elsewhere)
if( getStep()==0 || reusing_data ) return;
// This is used when we have a full quota of data from the first run
if( idata==logweights.size() ) return;
if( !single_run && idata==logweights.size() ) return;
// Retrieve the bias
double bias=0.0; for(unsigned i=0;i<biases.size();++i) bias+=biases[i]->get();
......
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