Skip to content

Vectorize tex.catwitherror#303

Open
martin-ueding wants to merge 4 commits intomasterfrom
vectorize-texcatwitherror
Open

Vectorize tex.catwitherror#303
martin-ueding wants to merge 4 commits intomasterfrom
vectorize-texcatwitherror

Conversation

@martin-ueding
Copy link
Contributor

Closes #253.

I saw that by accident the changes to tex.catwitherror have made it mostly vectorized as the errors package already does it and the formatC is also vectorized. The problem were a few conditionals which assumed that the length of x and dx were one or alternatively x had two elements (value and error) and dx was missing. I have fixed the order of checks and added a few tests to make sure that it works even in cases where some of the errors were zero.

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.

tex.catwitherror does not work well with vectors

1 participant