Skip to content

Commit 96a9192

Browse files
committed
Correct sigma type
1 parent 13e082e commit 96a9192

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sas/sascalc/size_distribution/SizeDistribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def weights(self) -> np.ndarray | None:
453453
"""Return the weights for the size distribution."""
454454
return self._weights
455455

456-
def update_weights(self, sigma: np.ndarray | None = None) -> None:
456+
def update_weights(self, sigma: Data1D | None = None) -> None:
457457
"""Update the weights based on the current weightType and the provided sigma or data uncertainties."""
458458
if sigma is None:
459459
wdata = self.data

0 commit comments

Comments
 (0)