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

Redundant line for setting the arrayfire backend. #69

Open
amanabt opened this issue Nov 28, 2017 · 0 comments
Open

Redundant line for setting the arrayfire backend. #69

amanabt opened this issue Nov 28, 2017 · 0 comments
Assignees
Labels

Comments

@amanabt
Copy link
Member

amanabt commented Nov 28, 2017

5c71deb

https://github.com/Balavarun5/DG_Maxwell/blob/5c71deba7742ef079cadf45512c9984bf769c695/dg_maxwell/wave_equation_2d.py#L6

This line is redundant because an arrayfire backed be being set again after few lines using the variable
params.backend. Also, the presence of this statement might be dangerous if the backend being set in params.backend is not cpu and will give you errors.

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

2 participants