Skip to content

Commit f745c39

Browse files
committed
correct type of element
1 parent e41170b commit f745c39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ceasiompy/AeroFrame/aeroframe_run.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ def main(cpacs: CPACS, results_dir: Path) -> None:
395395
# Update CPACS with the new aeromap
396396
tixi.updateTextElement(AVL_AEROMAP_UID_XPATH, aeromap_uid)
397397
tixi.updateTextElement(AVL_DISTR_XPATH, distribution)
398-
tixi.updateTextElement(AVL_NCHORDWISE_XPATH, nchord)
399-
tixi.updateTextElement(AVL_NSPANWISE_XPATH, nspan)
400-
tixi.updateTextElement(AVL_PLOT_XPATH, plot)
398+
tixi.updateIntegerElement(AVL_NCHORDWISE_XPATH, nchord)
399+
tixi.updateIntegerElement(AVL_NSPANWISE_XPATH, nspan)
400+
tixi.updateBooleanElement(AVL_PLOT_XPATH, plot)
401401

402402
run_avl(cpacs, results_dir)
403403

0 commit comments

Comments
 (0)