Skip to content

Commit

Permalink
Re-added missing spaces after period in _diffusions.py
Browse files Browse the repository at this point in the history
Signed-off-by: Nirmal Patel <[email protected]>
  • Loading branch information
nirmal-j-patel committed Apr 1, 2022
1 parent a454605 commit 7ae193c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/probnum/randprocs/markov/continuous/_diffusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ def __repr__(self):
def __call__(self, t: ArrayLike) -> Union[ArrayLike, np.ndarray]:
if self.diffusion is None:
raise NotImplementedError(
"No diffusions seen yet."
"No diffusions seen yet. "
"Call estimate_locally_and_update_in_place first."
)
return self.diffusion * np.ones_like(t)

def __getitem__(self, idx: ArrayIndicesLike) -> Union[ArrayLike, np.ndarray]:
if self.diffusion is None:
raise NotImplementedError(
"No diffusions seen yet."
"No diffusions seen yet. "
"Call estimate_locally_and_update_in_place first."
)

Expand Down Expand Up @@ -130,7 +130,7 @@ def __repr__(self):
def __call__(self, t: ArrayLike) -> Union[ArrayLike, np.ndarray]:
if len(self._locations) <= 1:
raise NotImplementedError(
"No diffusions seen yet."
"No diffusions seen yet. "
"Call estimate_locally_and_update_in_place first."
)
if np.isscalar(t):
Expand All @@ -153,7 +153,7 @@ def __call__(self, t: ArrayLike) -> Union[ArrayLike, np.ndarray]:
def __getitem__(self, idx: ArrayIndicesLike) -> Union[ArrayLike, np.ndarray]:
if len(self._locations) <= 1:
raise NotImplementedError(
"No diffusions seen yet."
"No diffusions seen yet. "
"Call estimate_locally_and_update_in_place first."
)
return self.diffusions[idx]
Expand Down

0 comments on commit 7ae193c

Please sign in to comment.