Skip to content

Commit 47b2f70

Browse files
committed
[linalg.syn] Fix return type of the dot function
1 parent 63f25a3 commit 47b2f70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/numerics.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -10573,10 +10573,10 @@
1057310573

1057410574
// \ref{linalg.algs.blas1.dot}, dot product of two vectors
1057510575
template<@\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2, class Scalar>
10576-
T dot(InVec1 v1, InVec2 v2, Scalar init);
10576+
Scalar dot(InVec1 v1, InVec2 v2, Scalar init);
1057710577
template<class ExecutionPolicy, @\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2, class Scalar>
10578-
T dot(ExecutionPolicy&& exec,
10579-
InVec1 v1, InVec2 v2, Scalar init);
10578+
Scalar dot(ExecutionPolicy&& exec,
10579+
InVec1 v1, InVec2 v2, Scalar init);
1058010580
template<@\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2>
1058110581
auto dot(InVec1 v1, InVec2 v2);
1058210582
template<class ExecutionPolicy, @\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2>

0 commit comments

Comments
 (0)