Skip to content

Commit

Permalink
Remove warning in Kernel.normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeil committed Dec 1, 2016
1 parent bf448f4 commit 24851e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions astropy/convolution/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ def normalize(self, mode='integral'):
else:
np.divide(self._array, normalization, self._array)

if np.abs(1.0 / normalization) > MAX_NORMALIZATION:
warnings.warn('The kernel normalization factor is '
'exceptionally large,'
' > {0}.'.format(MAX_NORMALIZATION),
AstropyUserWarning)

self._kernel_sum = self._array.sum()

@property
Expand Down

0 comments on commit 24851e6

Please sign in to comment.