peterdsharpe / AeroSandbox

Aircraft design optimization made fast through computational graph transformations (e.g., automatic differentiation). Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.
https://peterdsharpe.github.io/AeroSandbox/
MIT License
741 stars 119 forks source link

Bug fixes #46

Closed antoniosgeme closed 3 years ago

antoniosgeme commented 3 years ago

Not sure if you are looking for PRs like these, but here are a couple of bugs I ran into.

1) Error when adding control surface to airfoil due to outdated syntax

2) Cf_flat_plate is directly imported and therefore no need for aero call

3) Changed cas.sum1 to np.sum since it seems asb.numpy takes care of autodiff problems

peterdsharpe commented 3 years ago

Antonios, these are fantastic! :) Thanks so much!

Looking through changes now!