Skip to content

Commit

Permalink
Merge pull request #107 from thoffman1/master
Browse files Browse the repository at this point in the history
fix typo in uniform kernel branch
  • Loading branch information
TaylorOshan authored Nov 9, 2021
2 parents 5172d80 + c1411ca commit 47af2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgwr/kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _kernel_funcs(self, zs):
if self.function == 'triangular':
return 1 - zs
elif self.function == 'uniform':
return np.ones(zi.shape) * 0.5
return np.ones(zs.shape) * 0.5
elif self.function == 'quadratic':
return (3. / 4) * (1 - zs**2)
elif self.function == 'quartic':
Expand Down

0 comments on commit 47af2ac

Please sign in to comment.