forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix interpolate_to_slice unit handling (Fixes Unidata#3341)
The fixup in Unidata#3255 inadvertently added unit parsing to all code paths in interpolate_to_slice. This breaks any usages that passed in data with unknown units. Since interpolate_to_slice has no need to do any unit handling, avoid this unless we're actually given a quantity.
- Loading branch information
1 parent
2be8428
commit 2a13d51
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters