@@ -187,7 +187,7 @@ class _Element0D(_Element):
187187 """Element with 1 dimension.
188188 """
189189 def __init__ (self , nodes , frame , implementation = None , rigid = False , ** kwargs ):
190- super (_Element1D , self ).__init__ (nodes , section = None , implementation = implementation , rigid = rigid , ** kwargs )
190+ super (_Element0D , self ).__init__ (nodes , section = None , implementation = implementation , rigid = rigid , ** kwargs )
191191 self ._frame = frame
192192
193193class SpringElement (_Element0D ):
@@ -205,7 +205,7 @@ class LinkElement(_Element0D):
205205class _Element1D (_Element ):
206206 """Element with 1 dimension.
207207 """
208- def __init__ (self , nodes , section , frame , implementation = None , rigid = False , ** kwargs ):
208+ def __init__ (self , nodes , section , frame = None , implementation = None , rigid = False , ** kwargs ):
209209 super (_Element1D , self ).__init__ (nodes , section , implementation = implementation , rigid = rigid , ** kwargs )
210210 self ._frame = frame
211211 self ._curve = Line (nodes [0 ].point , nodes [- 1 ].point )
0 commit comments