Nils Bruin wrote:
On Friday, May 2, 2014 8:38:16 AM UTC-7, leif wrote:

     >>           return self.transpose().eigenvectors_left(extend)

          def eigenvectors_right(self, extend=True):

    So 'extend' is defined where the call happens...

Stylistically it seems to be a keyword argument, so wouldn't  return

     self.transpose().eigenvectors_left(extend=extend)

be clearer and more future-proof (in case someone adds a keyword
"normalized=True" as well, and puts it in front of extend)?

? "eigenvectors_left() takes no keyword arguments"

That's the error this thread is about. So you'd have to change eigenvectors_left() if you want it to take keyword arguments.


-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to