MRChemSoft/mrcpp

ambiguity of the print function

ilfreddy opened this issue · 0 comments

The print function of FunctionTreeis inherited both from RepresentableFunction and by MWTree which results in ambiguity when you do std::cout << tree << std::endl.

A possible solution (@stigrj is too polite to say he does not like it ;-) ) is to create a print function in FunctionTree and let that one call the corresponding print statements from both RepresentableFunction and MWTree, if it is possible to disambiguate between them.