Skip to content

Commit dac6839

Browse files
jensmaurertkoeppe
authored andcommitted
[linalg.syn] Fix return type of the dot function
1 parent 2d86e65 commit dac6839

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/numerics.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10642,10 +10642,10 @@
1064210642

1064310643
// \ref{linalg.algs.blas1.dot}, dot product of two vectors
1064410644
template<@\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2, class Scalar>
10645-
T dot(InVec1 v1, InVec2 v2, Scalar init);
10645+
Scalar dot(InVec1 v1, InVec2 v2, Scalar init);
1064610646
template<class ExecutionPolicy, @\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2, class Scalar>
10647-
T dot(ExecutionPolicy&& exec,
10648-
InVec1 v1, InVec2 v2, Scalar init);
10647+
Scalar dot(ExecutionPolicy&& exec,
10648+
InVec1 v1, InVec2 v2, Scalar init);
1064910649
template<@\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2>
1065010650
auto dot(InVec1 v1, InVec2 v2);
1065110651
template<class ExecutionPolicy, @\exposconcept{in-vector}@ InVec1, @\exposconcept{in-vector}@ InVec2>

0 commit comments

Comments
 (0)