You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the #define private public and #define protected public break c++ STL implementation, this is the result of bad design of classes and redandunt tests on even getter functions. The developer of this class did not really design it well, the proper choice should be, once the instance is constructed, its state is determined or say determinstic, then just use getter function to check its state, this is a proper unittest of constructor. Otherwise if want to test some functionalities and if find it is needed to change the state by visiting private variables, it is either not well designed encapsulation or not well designed function, the latter case implies the function should be static instead of dynamic.
Describe the bug
When building latest abacus with
-DBUILD_TESTING=ON
and-DENABLE_DEEPKS=1
, compiler error encountered:Expected behavior
No response
To Reproduce
Environment
Additional Context
No response
Task list for Issue attackers (only for developers)
The text was updated successfully, but these errors were encountered: