We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
make
When running make using the version in main, I get the following error:
main
zeoran.cpp: In function 'void read_unit_cell(std::string)': zeoran.cpp:215:39: error: reference to 'beta' is ambiguous 215 | fin >> aux >> alpha >> aux >> beta >> aux >> gama; | ^~~~ In file included from /opt/cray/pe/gcc/11.2.0/snos/include/g++/cmath:1927, from /opt/cray/pe/gcc/11.2.0/snos/include/g++/math.h:36, from libraries.h:5, from zeoran.cpp:1: /opt/cray/pe/gcc/11.2.0/snos/include/g++/bits/specfun.h:343:5: note: candidates are: 'template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)' 343 | beta(_Tpa __a, _Tpb __b) | ^~~~ In file included from zeoran.cpp:2: global.h:4:15: note: 'double beta' 4 | double alpha, beta, gama; | ^~~~ zeoran.cpp: In function 'void print_structure(atom*, std::vector<int>, int, std::string, std::string, std::string)': zeoran.cpp:853:41: error: reference to 'beta' is ambiguous 853 | fout << "_cell_angle_beta " << beta << endl; | ^~~~ In file included from /opt/cray/pe/gcc/11.2.0/snos/include/g++/cmath:1927, from /opt/cray/pe/gcc/11.2.0/snos/include/g++/math.h:36, from libraries.h:5, from zeoran.cpp:1: /opt/cray/pe/gcc/11.2.0/snos/include/g++/bits/specfun.h:343:5: note: candidates are: 'template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)' 343 | beta(_Tpa __a, _Tpb __b) | ^~~~ In file included from zeoran.cpp:2: global.h:4:15: note: 'double beta' 4 | double alpha, beta, gama; | ^~~~ make: *** [Makefile:5: zeoran] Error 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running
make
using the version inmain
, I get the following error:The text was updated successfully, but these errors were encountered: