On 09/07/2014 20:17, Danny Yoo wrote:
My error was simply that I inadvertently used the same name for a method
(function) in the derived class that I had already used in the parent class.
The result was then a very obscure error because the wrong calculation was
performed and later on an array wa
> My error was simply that I inadvertently used the same name for a method
> (function) in the derived class that I had already used in the parent class.
> The result was then a very obscure error because the wrong calculation was
> performed and later on an array was empty.
> Fortunately, thanks t
On 06/07/2014 23:06, Danny Yoo wrote:
My apologies to the tutors.
I have identified my error, which was predictably elementary.
With many thanks,
By the way, can you say what your conceptual error was or give an
example? It might help the other folks here who are learning and who
may be making
> My apologies to the tutors.
> I have identified my error, which was predictably elementary.
> With many thanks,
By the way, can you say what your conceptual error was or give an
example? It might help the other folks here who are learning and who
may be making a similar mistake. (And I'm curi
On 01/07/2014 19:04, Sydney Shall wrote:
I am a beginner and I have always had problems with inheritance.
I can get inheritance to work with very simple classes.
But with more complex classes, I find that inheritance seems to work
for simple variables, but I cannot get it to work with lists or
On 01/07/14 18:04, Sydney Shall wrote:
But with more complex classes, I find that inheritance seems to work for
simple variables, but I cannot get it to work with lists or arrays.
Specifically my problem is to access a numpy array in the parent class,
from within the derived class.
Caveat: I k
I am a beginner and I have always had problems with inheritance.
I can get inheritance to work with very simple classes.
But with more complex classes, I find that inheritance seems to work for
simple variables, but I cannot get it to work with lists or arrays.
Specifically my problem is to acce