-
-
Notifications
You must be signed in to change notification settings - Fork 49.6k
Closed
Description
Python/linear_algebra_python/src/lib.py
Lines 48 to 53 in 48bba49
| def __init__(self,components=[]): | |
| """ | |
| input: components or nothing | |
| simple constructor for init the vector | |
| """ | |
| self.__components = list(components) |
this should be something like
def __init__(self,components=None):
"""
input: components or nothing
simple constructor for init the vector
"""
self.__components = [] if not components else list(components) poyea
Metadata
Metadata
Assignees
Labels
No labels