Skip to content

Commit 789b0bd

Browse files
committed
Fix warning
1 parent 9394c02 commit 789b0bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blobmodel/blobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def _propagation_direction_shape(
341341
else:
342342
x_diffs = x - self._prop_dir_blob_position(t)
343343
theta_x = x_diffs / self.width_prop
344-
if theta_x.size != 0 and np.min(np.abs(theta_x)) < 10:
344+
if theta_x.size != 0 and np.min(np.abs(theta_x)) > 10:
345345
warnings.warn(
346346
"Received discretization values of less than 10 blob sizes, possibly a bug"
347347
)

0 commit comments

Comments
 (0)