HS: Fix input_kp type for export.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-01-29 15:43:28 +01:00
1 parent 1bd05ee1c2
commit bdc5e35453
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -491,7 +491,7 @@ class Mage(CommandLineSolver):
f.write(
'* ouvrage au pk ' +
f"{hs.input_kp:>12.1f}" + ' ' +
f"{float(hs.input_kp):>12.1f}" + ' ' +
hs.name + '\n'
)
@@ -510,7 +510,7 @@ class Mage(CommandLineSolver):
f.write(
f"{sin_dict[bhs._type]} " +
f"{reach_id} {hs.input_kp:>12.3f} {param_str} " +
f"{reach_id} {float(hs.input_kp):>12.3f} {param_str} " +
f"{name}\n"
)