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

Back-end errors: converting AutoDiffBlock to CollOfScalar #1

Open
atgeirr opened this issue Dec 2, 2013 · 0 comments
Open

Back-end errors: converting AutoDiffBlock to CollOfScalar #1

atgeirr opened this issue Dec 2, 2013 · 0 comments
Assignees
Labels

Comments

@atgeirr
Copy link
Member

atgeirr commented Dec 2, 2013

Some expressions such as

a = [b + c, d + e]

generate back-end code that fails to compile. This is due to b+c returning an AutoDiffBlock in the back-end, and since makeArray() is templatized on input type an array<AutoDiffBlock> is generated instead of an array<CollOfScalar>.

Susceptible functions: operatorExtend, operatorOn, trinaryIf, makeArray.

@ghost ghost assigned atgeirr Dec 2, 2013
atgeirr added a commit that referenced this issue Nov 30, 2015
Fixed build on vagrant virtual machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant