From 12455c6369547e970c4556bb20d8261eadc3b5ab Mon Sep 17 00:00:00 2001 From: tslil Date: Tue, 24 Mar 2026 18:27:04 +0000 Subject: big ole rename for consistent terminology: scalar, vector, matrix, tensor --- rprt-engine/src/selection_functions/result_transformation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rprt-engine/src/selection_functions/result_transformation.rs') diff --git a/rprt-engine/src/selection_functions/result_transformation.rs b/rprt-engine/src/selection_functions/result_transformation.rs index 865038c..c150916 100644 --- a/rprt-engine/src/selection_functions/result_transformation.rs +++ b/rprt-engine/src/selection_functions/result_transformation.rs @@ -20,7 +20,7 @@ pub fn complement_transform(es: &EditorState, result: Selection) -> SFResult { if pos + 1 < max_pos { ranges.push(Interval::new(pos + 1, max_pos)); } - Ok(Selection::Ranges { buffer_id, ranges }) + Ok(Selection::Vectors { buffer_id, ranges }) } else { Err(SFError::BufferNotFound(buffer_id)) } @@ -48,7 +48,7 @@ pub fn complement_transform(es: &EditorState, result: Selection) -> SFResult { ranges.push(Interval::new(0, interval.start)); ranges.push(Interval::new(interval.end, max_pos)); } - Ok(Selection::Ranges { buffer_id, ranges }) + Ok(Selection::Vectors { buffer_id, ranges }) } else { Err(SFError::BufferNotFound(buffer_id)) } -- cgit v1.2.3