byuflowlab / GXBeam.jl

Pure Julia Implementation of Geometrically Exact Beam Theory
MIT License
87 stars 18 forks source link

Ensuring result variable is not called if Linear analysis #32

Closed yosinlpet closed 2 years ago

yosinlpet commented 2 years ago

Hi,

when calling time_domain_analysis1(; linear=true), result variable is not declared and is called to check convergence. I made sure this variable is only called when !linear.

taylormcd commented 2 years ago

Thanks for catching this. I'll get it into the next release.