File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1141,8 +1141,8 @@ def to_boost_histogram(self) -> Any:
11411141 # Need to shape the array properly so that it will actually be able to assign to the boost histogram.
11421142 arr = np .zeros (shape = h .view ().shape , dtype = h .view ().dtype )
11431143 # NOTE: We're relying on the h.view() supporting structured arrays. Surprisingly, this seems to work.
1144- arr ["value" ] = self .values # type: ignore[call-overload]
1145- arr ["variance" ] = self .variances # type: ignore[call-overload]
1144+ arr ["value" ] = self .values
1145+ arr ["variance" ] = self .variances
11461146 h [...] = arr
11471147
11481148 return h
Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ def _integral(
546546 # Provide the opportunity to scale by bin width
547547 widths = np .ones (len (self .y ))
548548 if multiply_by_bin_width :
549- widths = self .bin_widths # type: ignore[assignment]
549+ widths = self .bin_widths
550550
551551 # Integrate by summing up all of the bins and the errors.
552552 # Perform the integral.
You can’t perform that action at this time.
0 commit comments