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

Tests fail to compile: error: use of undeclared identifier 'I' #456

Closed
yurivict opened this issue May 24, 2021 · 2 comments
Closed

Tests fail to compile: error: use of undeclared identifier 'I' #456

yurivict opened this issue May 24, 2021 · 2 comments

Comments

@yurivict
Copy link

/disk-samsung/freebsd-ports/math/dbcsr/work/dbcsr-2.1.0/tests/dbcsr_tensor_test.cpp:48:34: error: use of undeclared identifier 'I'
    return dis(gen) + dis(gen) * I;
                                 ^
1 error generated.
@hfp
Copy link
Member

hfp commented May 24, 2021

PR #457 should this problem, which was still present in the development version of DBCSR.

@hfp
Copy link
Member

hfp commented May 24, 2021

( I believe DBCSR 2.1.0 is still the version going into the imminent CP2K 8.2 )

hfp added a commit that referenced this issue May 24, 2021
…rning (#457)

The test in question looks like behind the original plan (support for complex-valued matrices). The issue could not been reproduced even when using clang (default compiler under BSD). However, the problematic code was removed (unused).
@hfp hfp closed this as completed May 25, 2021
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