Skip to content
Snippets Groups Projects
Commit b0cdc28f authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Base class needs virtual destructors

parent f2fef1e8
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ class WeightBase{ ...@@ -35,6 +35,7 @@ class WeightBase{
public: public:
virtual double projectInnerLoop(double &input, double &v)=0; virtual double projectInnerLoop(double &input, double &v)=0;
virtual double projectOuterLoop(double &v)=0; virtual double projectOuterLoop(double &v)=0;
virtual ~WeightBase(){};
}; };
class BiasWeight:public WeightBase{ class BiasWeight:public WeightBase{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment