@@ -187,7 +187,7 @@ class _Element0D(_Element):
187
187
"""Element with 1 dimension.
188
188
"""
189
189
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 )
191
191
self ._frame = frame
192
192
193
193
class SpringElement (_Element0D ):
@@ -205,7 +205,7 @@ class LinkElement(_Element0D):
205
205
class _Element1D (_Element ):
206
206
"""Element with 1 dimension.
207
207
"""
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 ):
209
209
super (_Element1D , self ).__init__ (nodes , section , implementation = implementation , rigid = rigid , ** kwargs )
210
210
self ._frame = frame
211
211
self ._curve = Line (nodes [0 ].point , nodes [- 1 ].point )
0 commit comments