Skip to content
Snippets Groups Projects
Commit 4e11726c authored by Rene Brun's avatar Rene Brun
Browse files

From Lorenzo,

Fix a problem in the definition of the destructors


git-svn-id: http://root.cern.ch/svn/root/trunk@21922 27541ba8-7e3a-0410-8455-c3a389f83636
parent ff13bc48
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class TNeuron : public TNamed {
TNeuron(ENeuronType type = kSigmoid,
const char* name = "", const char* title = "",
const char* extF = "", const char* extD = "" );
virtual ~ TNeuron() {}
virtual ~TNeuron() {}
inline TSynapse* GetPre(Int_t n) const { return (TSynapse*) fpre.At(n); }
inline TSynapse* GetPost(Int_t n) const { return (TSynapse*) fpost.At(n); }
inline TNeuron* GetInLayer(Int_t n) const { return (TNeuron*) flayer.At(n); }
......
......@@ -33,7 +33,7 @@ class TSynapse : public TObject {
public:
TSynapse();
TSynapse(TNeuron*, TNeuron*, Double_t w = 1);
virtual ~ TSynapse() {}
virtual ~TSynapse() {}
void SetPre(TNeuron* pre);
void SetPost(TNeuron* post);
inline TNeuron* GetPre() const { return fpre; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment