Skip to content

Commit 0740b2b

Browse files
committed
Merge remote-tracking branch 'bradh/fraction_typo_2025-08-31' into v1.4-andium-dev
2 parents c10ae36 + ca2d45d commit 0740b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spatial/modules/main/spatial_functions_scalar.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5252,7 +5252,7 @@ struct ST_LineInterpolatePoint {
52525252
auto &lstate = LocalState::ResetAndGet(state);
52535253

52545254
BinaryExecutor::Execute<string_t, double, string_t>(
5255-
args.data[0], args.data[1], result, args.size(), [&](const string_t &blob, const double faction) {
5255+
args.data[0], args.data[1], result, args.size(), [&](const string_t &blob, const double fraction) {
52565256
sgl::geometry geom;
52575257
lstate.Deserialize(blob, geom);
52585258

@@ -5261,7 +5261,7 @@ struct ST_LineInterpolatePoint {
52615261
}
52625262

52635263
sgl::vertex_xyzm out_vertex = {0, 0, 0, 0};
5264-
if (sgl::linestring::interpolate(geom, faction, out_vertex)) {
5264+
if (sgl::linestring::interpolate(geom, fraction, out_vertex)) {
52655265
sgl::geometry point(sgl::geometry_type::POINT, geom.has_z(), geom.has_m());
52665266
point.set_vertex_array(&out_vertex, 1);
52675267
return lstate.Serialize(result, point);

0 commit comments

Comments
 (0)