Skip to content

Commit ca2d45d

Browse files
committed
fix typo in variable name
No functional changes.
1 parent 35a3635 commit ca2d45d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

duckdb

Submodule duckdb updated 606 files

src/spatial/modules/main/spatial_functions_scalar.cpp

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

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

@@ -5260,7 +5260,7 @@ struct ST_LineInterpolatePoint {
52605260
}
52615261

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

0 commit comments

Comments
 (0)