Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Array-of-SArray
op
Number infer the right output Array type
For some reason, there's special rules using Base.promote_op to infer the correct type for operations involving Number and arrays of other types. This means we need to overload promote_op or we'll get an Array of Any in these cases.
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 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