Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logical_or does not deal with default values correctly #113

Open
vlsd opened this issue Apr 14, 2017 · 1 comment
Open

logical_or does not deal with default values correctly #113

vlsd opened this issue Apr 14, 2017 · 1 comment

Comments

@vlsd
Copy link
Contributor

vlsd commented Apr 14, 2017

Consider the following piece of code:

>>> a = traces.TimeSeries()
>>> a.default = 1
>>> a[10] = 0
>>> b = traces.TimeSeries()
>>> b.default = 0
>>> c = a.logical_or(b)
>>> a[1]
1
>>> b[1]
0
>>> c[1]
0
>>>
@zackdrescher
Copy link
Contributor

I have added a pull request for a fix of this. Should fix similar issues for all other operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants