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

StridedDomain has no empty constructor #158

Closed
roshansamuel opened this issue Mar 5, 2020 · 1 comment
Closed

StridedDomain has no empty constructor #158

roshansamuel opened this issue Mar 5, 2020 · 1 comment

Comments

@roshansamuel
Copy link
Contributor

When using StridedDomain in Blitz, we cannot declare it as a variable like

blitz::StridedDomain<3> strideView;

The above code gives me a compile-time error. However, no such problem exists with the below code:

blitz::RectDomain<3> blockView;

This is because in blitz/array/domain.h, there is an empty constructor for RectDomain, but not for StridedDomain. Adding an empty constructor here eliminates the compile-time error for me.

@slayoo
Copy link
Member

slayoo commented Mar 5, 2020

Thank you for reporting it.
Could you please submit a pull request with a test routine?

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