From e1dd8cc86423cf69c4c62902a88a3331519953f3 Mon Sep 17 00:00:00 2001 From: Rabii Chaarani <50892556+rabii-chaarani@users.noreply.github.com> Date: Wed, 4 Jun 2025 11:03:27 +0930 Subject: [PATCH] Fix comparison in get_fold_curves --- FoldOptLib/helper/_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FoldOptLib/helper/_helper.py b/FoldOptLib/helper/_helper.py index 1819666..060b19e 100644 --- a/FoldOptLib/helper/_helper.py +++ b/FoldOptLib/helper/_helper.py @@ -65,7 +65,7 @@ def get_fold_curves(geological_feature, fold_frame=0): x = np.linspace(geological_feature.fold.foldframe[coordinate_to_use].min(), geological_feature.fold.foldframe[coordinate_to_use].max(), 200) curve = geological_feature.fold.fold_axis_rotation( - x) if fold_frame is 1 else geological_feature.fold.fold_limb_rotation(x) + x) if fold_frame == 1 else geological_feature.fold.fold_limb_rotation(x) return x, curve