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

Bug in tensor exp when arg has non-zero unit term #27

Open
inakleinbottle opened this issue Aug 25, 2021 · 1 comment
Open

Bug in tensor exp when arg has non-zero unit term #27

inakleinbottle opened this issue Aug 25, 2021 · 1 comment
Assignees

Comments

@inakleinbottle
Copy link
Collaborator

So I discovered a strange bug in the exp function when it is given a tensor with a non-zero unit element. I suspect the problem is in an optimisation of the multiplication logic but I will have to check. This only effects dense vectors, and presumably hybrid vectors when the dense part is sufficiently large.

dense_tensor_functions_float:26:1: error: Failure in tensor_exp_two_letters_plus_unit: Expected 0 +/- 3e-08 but was 5.10864
dense_tensor_functions_double:26:1: error: Failure in tensor_exp_two_letters_plus_unit: Expected 0 +/- 2e-15 but was 5.10864
dense_tensor_functions_rational:16:1: error: Failure in tensor_exp_two_letters_plus_unit: Expected ...
@inakleinbottle inakleinbottle self-assigned this Aug 25, 2021
@terrylyons
Copy link
Owner

terrylyons commented Aug 26, 2021 via email

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