~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to aloha/aloha_writers.py

  • Committer: Olivier Mattelaer
  • Date: 2011-09-30 13:55:43 UTC
  • Revision ID: olivier.mattelaer@uclouvain.be-20110930135543-4n6un2yilgtkm4vz
fix bug 861263: aloha crash when creating the full set of routines for a model. More exactly when a combine routine has a symmetry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        elif len(indices) == 2: 
59
59
            return  4 * indices[0] + indices[1] + start 
60
60
        else:
61
 
            raise Exception, 'WRONG CONTRACTION OF LORENTZ OBJECT'                                 
 
61
            raise Exception, 'WRONG CONTRACTION OF LORENTZ OBJECT for routine %s' \
 
62
                    % self.namestring                                 
62
63
                                 
63
64
    def collect_variables(self):
64
65
        """Collects Momenta,Mass,Width into lists"""