harrison-caudill / pylink

Python Link Budget Tools
BSD 3-Clause "New" or "Revised" License
41 stars 10 forks source link

Linear Solver Misses Initialization #47

Closed harrison-caudill closed 4 years ago

harrison-caudill commented 4 years ago

Add self.override(var, best_val) to line 342 of model.py

Otherwise, the best_diff value can start at a more-or-less random value instead of the actual diff for the first value in the sweep.