Skip to content

Conversation

@tai271828
Copy link

While compiling test.cpp, I encountered the following error:

test.cpp: In function ‘int main()’:
test.cpp:10:14: error: ‘zeros’ was not declared in this scope; did you mean ‘cytnx::zeros’?

Some modern compilers or compiler options may resolve this automatically. However, explicitly declaring it improves clarity and lowers the entry barrier for beginners.

While compiling test.cpp, I encountered the following error:

    test.cpp: In function ‘int main()’:
    test.cpp:10:14: error: ‘zeros’ was not declared in this scope; did you mean ‘cytnx::zeros’?

Some modern compilers or compiler options may resolve this automatically.
However, explicitly declaring it improves clarity and lowers the entry barrier
for beginners.
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

Successfully merging this pull request may close these issues.

1 participant