Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
apply black
  • Loading branch information
MuellerSeb committed Oct 16, 2025
commit cb237fe213fdcb288dc8087ff9cc53b720300b55
1 change: 1 addition & 0 deletions examples/05_kriging_1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

An example of 1D kriging with PyKrige
"""

import matplotlib.pyplot as plt
import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion examples/06_exact_values_example_1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
============

PyKrige demonstration and usage
as a non-exact interpolator in 1D.
as a non-exact interpolator in 1D.
"""

import matplotlib.pyplot as plt
Expand Down
10 changes: 5 additions & 5 deletions src/pykrige/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,11 +711,11 @@ def _krige(
d = great_circle_distance(x1, y1, x2, y2)
bd = np.asarray(
great_circle_distance(
X[:, 0],
X[:, 1],
coords[0] * np.ones(X.shape[0]),
coords[1] * np.ones(X.shape[0]),
)
X[:, 0],
X[:, 1],
coords[0] * np.ones(X.shape[0]),
coords[1] * np.ones(X.shape[0]),
)
).ravel()

# this check is done when initializing variogram, but kept here anyways...
Expand Down
1 change: 1 addition & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Testing code.
Updated BSM February 2017
"""

import os
import sys

Expand Down