Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Conversation

@marqh
Copy link
Member

@marqh marqh commented Dec 8, 2015

This test illustrates an oddity in behaviour, recently introduced, where adding and integer to an array alters the type of the result

I have implemented a

 type(foo) 'is' int

check to catch this and handle the case, consistently with numpy's behaviour

thank you
mark

@marqh
Copy link
Member Author

marqh commented Dec 8, 2015

@pelson i've implemented a type check on element-wise for special handling of python int and float instances

this may also fix #163 (tbc)

@pelson
Copy link
Member

pelson commented Dec 9, 2015

It's a good start. 👍

pelson added a commit that referenced this pull request Dec 9, 2015
@pelson pelson merged commit f0ee3a5 into SciTools:master Dec 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants