Skip to content

Fix: Checking if yerr==None before using it. - #7

Open
RHofsaess wants to merge 1 commit into
dsavoiu:masterfrom
RHofsaess:master
Open

Fix: Checking if yerr==None before using it.#7
RHofsaess wants to merge 1 commit into
dsavoiu:masterfrom
RHofsaess:master

Conversation

@RHofsaess

Copy link
Copy Markdown

If yerr is None, zip() does not work and throws an error.
Therefore, it has to be checked before.

Note: with this implementation, the whole step ist skipped! I am not sure, if this is generally intended.
But just calling:

if _yerr is None:
    _yerr = 0, 0

Also doesn't do the trick, as the data type and the dimensions do not match!

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

Successfully merging this pull request may close these issues.

1 participant