[PyFeyn] bug in pyfeyn/deco.py ?

Georg von Hippel hippel at kph.uni-mainz.de
Mon Mar 31 17:38:21 BST 2014


Dear Hannsjörg,

there is an official fix for that bug now, which I attach.

Best,

    Georg

-- 
============================================================================

  Dr. Georg von Hippel
  Institut für Kernphysik                 Phone:  +49 6131 39-22933
  Johannes Gutenberg-Universität Mainz    Fax:    +49 6131 39-22964
  Johann-Joachim-Becher-Weg 45            Email:  hippel at kph.uni-mainz.de
  55099 Mainz, Germany

============================================================================


On Mon, 31 Mar 2014, Hannsjörg Weber wrote:

> Dear pyfeyn authors,
>
> it seems to me that a bug is in your code (at
> least for me it crashed for all examples from
> the website).
>
> In pyfeyn/deco.py the lines
> l.13
> l.45
> l.158
> crashed as
>
> "
>  File "/Users/haweber/PhD/SUSY/topologies/pyfeyn-0.3.4/pyfeyn/deco.py", line 
> 16, in getarrowpath
>    1, selfsize, 45, self.constriction,
> NameError: global name 'self' is not defined
> "
>
> Adding a 'self' as first argument in these three lines fixes it.
> I was using the latest version 0.3.4.
>
> Regards,
>   Hannsjörg Weber
> _______________________________________________
> PyFeyn mailing list
> PyFeyn at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/pyfeyn
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyfeyn-0.3.5.tar.gz
Type: application/octet-stream
Size: 35584 bytes
Desc: 
URL: <http://www.hepforge.org/lists-archive/pyfeyn/attachments/20140331/bfcc4326/attachment.obj>


More information about the PyFeyn mailing list