Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Test fix before revert through fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Apr 25, 2019
1 parent b3ccf40 commit 5bac959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uproot/write/objects/TH.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, histogram):
else:
raise ValueError("unrecognized histogram class name {0}".format(self.fClassName))

self.fields["_fNcells"] = len(self.valuesarray)
self.fields["_fNcells"] = self.valuesarray.size
self.fields["_fContour"] = numpy.array(self.fields["_fContour"], dtype=">f8", copy=False)
self.fields["_fSumw2"] = numpy.array(self.fields["_fSumw2"], dtype=">f8", copy=False)

Expand Down

0 comments on commit 5bac959

Please sign in to comment.