UIUCSinhaLab / GEMSTAT

Thermodynamics-based models of transcriptional regulation by enhancers: the roles of synergistic activation, cooperative binding and short-range repression
6 stars 8 forks source link

Carefully consider how const ExprPar& are used in ExprPredictor.cpp and INDExprPredictor.cpp, and how to fix that. #24

Open bryan-lunt opened 9 years ago

bryan-lunt commented 9 years ago

That way virtual function dispatch and such will work.

bryan-lunt commented 9 years ago

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.