Skip to content

Commit 011f0ce

Browse files
committed
Fix typo
1 parent 40ccf08 commit 011f0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayesflow/scores/scores.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ def get_head_shapes_from_target_shape(self, target_shape: Shape):
195195

196196
def score(self, estimates: dict[str, Tensor], targets: Tensor, weights: Tensor = None) -> Tensor:
197197
estimates = estimates["value"]
198-
pointwise_differance = estimates - targets
199-
scores = keras.ops.absolute(pointwise_differance) ** self.k
198+
pointwise_difference = estimates - targets
199+
scores = keras.ops.absolute(pointwise_difference) ** self.k
200200
score = self.aggregate(scores, weights)
201201
return score
202202

0 commit comments

Comments
 (0)