Rapid-Design-of-Systems-Laboratory / beluga

General purpose indirect trajectory optimization
Other
25 stars 6 forks source link

Use actual Python properties #203

Open msparapa opened 5 years ago

msparapa commented 5 years ago

I've noticed throughout the code, we've been using some homebrew solutions for what effectively are Python properties. Using Python's actual @property decorator will clean up code a bit and allow us to put checks in the proper places.