Commits

Martin Alnæs committed 9e5c3d5

Tiny edit in new integral generation code.

Comments (0)

Files changed (1)

sandbox/integralgeneratordesign/integralgenerator.py

         self._dofblock_partition = dofblock_partition
         self._dofblock_integrand_partition = dofblock_integrand_partition
         self._dofblocks = dofblocks
-        self._dofblocks = dict( (num_points, db.keys()) for num_points, db in self._dofblock_integrand_partition.iteritems())
+        self._dofblocks = dict( (num_points, sorted(db.keys()))
+                                for num_points, db in self._dofblock_integrand_partition.iteritems())
 
     def generate_argument_partition(self, num_points, iarg, dofblock): # FIXME
         parts = []