Carefully consider how const ExprPar& are used in ExprPredictor.cpp and INDExprPredictor.cpp, and how to fix that.
Opened this issue · 1 comments
bryan-lunt commented
That way virtual function dispatch and such will work.
bryan-lunt commented
Currently, the use of ExprPar& everywhere prevents proper dynamic dispatch and thus prevents the use of inheritance or design patterns to implement new versions of GEMSTAT. In a sense, this seemingly minor issue is the crux of many of our software engineering woes.