Skip to content

Commit

Permalink
Fix bug in extract_work_distributions
Browse files Browse the repository at this point in the history
I was referring to `dataset` by `ds` accidentally.
  • Loading branch information
Bas Rustenburg authored Mar 23, 2018
1 parent 114514d commit 16125fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protons/app/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def extract_work_distributions(dataset: netCDF4.Dataset, state1_idx: int, state2
as the forward distribution.
"""

ncmc = ds["Protons/NCMC"]
ncmc = dataset["Protons/NCMC"]
forward_work = []
neg_reverse_work = []

Expand Down

0 comments on commit 16125fb

Please sign in to comment.