Skip to content

Commit

Permalink
fix periodic std basis for degree=0
Browse files Browse the repository at this point in the history
  • Loading branch information
gertjanvanzwieten committed Feb 7, 2015
1 parent f8d38f0 commit fdc4127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nutils/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def basis_std( self, degree, removedofs=None ):

nd = n * p + 1
numbers = numpy.arange( nd )
if idim in self.periodic:
if idim in self.periodic and p > 0:
numbers[-1] = numbers[0]
nd -= 1
remove = removedofs[idim]
Expand Down

0 comments on commit fdc4127

Please sign in to comment.