Menu

TypeError: unsupported operand type(s) for *: 'instancemethod' and 'float'

Help
2017-02-03
2017-02-03
  • Amardeep Mishra

    Amardeep Mishra - 2017-02-03

    Hi!
    I am getting this error after I created my aircraft conitnuation model in python using pydstool library.I am also attaching my code.Kindly help me what is wrong here.I followed all the steps correctly as mentioned in the tutorial documentation of pydstool.
    This particular error seems to stem from forward method described in the class. I am unable to figure out the error.

     

    Last edit: Amardeep Mishra 2017-02-03
  • Amardeep Mishra

    Amardeep Mishra - 2017-02-03

    This is the kind of error I am getting in more detail. Thats when I run my python script from ipython shell.

     
  • Amardeep Mishra

    Amardeep Mishra - 2017-02-04

    I got it working by changing the code.Actually the arguments of auxiliary functions were missing in varspecs dictionary.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.