Skip to content

Commit

Permalink
Fix pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpfoertner committed Aug 27, 2020
1 parent 43d4892 commit ecf7505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/probnum/random_variables/_random_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _ensure_numpy_float(cls, name: str, value: Any) -> np.float_:
f"`{cls.__name__}` must return a scalar value that can be "
f"converted to a `np.float_`, which is possible for {value} "
f"of type {type(value)}."
)
) from err

assert isinstance(value, np.float_)

Expand Down

0 comments on commit ecf7505

Please sign in to comment.