Skip to content

Commit 2825176

Browse files
committed
Merge pull request lucasb-eyer#12 from sqy12/master
fixed a bug in create_pair_gaussian method in utils.py
2 parents abe7c4c + 4a79fdf commit 2825176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydensecrf/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create_pairwise_gaussian(sdims, shape):
5555
"""
5656
# create mesh
5757
hcord_range = [range(s) for s in shape]
58-
mesh = np.array(np.meshgrid(*cord_range, indexing='ij'), dtype=np.float32)
58+
mesh = np.array(np.meshgrid(*hcord_range, indexing='ij'), dtype=np.float32)
5959

6060
# scale mesh accordingly
6161
for i, s in enumerate(sdims):

0 commit comments

Comments
 (0)