Skip to content
Snippets Groups Projects
Commit c7fdb351 authored by Florian Schültke's avatar Florian Schültke
Browse files

rce_workflow (schueltke): fix variable naming bug

parent 08187f5f
Branches
Tags
2 merge requests!48Initial open source version,!9rce_workflow (schueltke): fix variable naming bug
......@@ -94,10 +94,10 @@ def estimate_mission_study_residuals(paths_and_names, mission_study_variables, c
# read iteration variables
m_take_off_max_study = root_of_aircraft_exchange_tree.find("./analysis/mission/study_mission/takeoff_mass/value")
if m_take_off_max is not None:
m_take_off_max = float(m_take_off_max.text)
if m_take_off_max_study is not None:
m_take_off_max_study = float(m_take_off_max_study.text)
else:
m_take_off_max = 0
m_take_off_max_study = 0
fl_initial_cruise_study = root_of_aircraft_exchange_tree.find(
"./analysis/mission/study_mission/cruise/cruise_steps@ID=0/altitude/value")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment