~maddevelopers/mg5amcnlo/3.3.0

« back to all changes in this revision

Viewing changes to madgraph/interface/loop_interface.py

  • Committer: olivier-mattelaer
  • Date: 2021-11-08 08:25:41 UTC
  • Revision ID: olivier-mattelaer-20211108082541-nivc1i4l164z6y5u
merge with 2.7.0_gpu version 368->371: fixing randomness in ordering

Show diffs side-by-side

added added

removed removed

Lines of Context:
727
727
            # For a unique output of multiple type of exporter model information
728
728
            # are save in memory
729
729
            if hasattr(self, 'previous_lorentz'):
730
 
                wanted_lorentz = list(set(self.previous_lorentz + wanted_lorentz))
731
 
                wanted_couplings = list(set(self.previous_couplings + wanted_couplings))
 
730
                wanted_lorentz = misc.make_unique(self.previous_lorentz + wanted_lorentz)
 
731
                wanted_couplings = misc.make_unique(self.previous_couplings + wanted_couplings)
732
732
                del self.previous_lorentz
733
733
                del self.previous_couplings
734
734