Skip to content

Commit c29db39

Browse files
committed
Return sum of squares in L2
1 parent bf2ec98 commit c29db39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/include/defs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ inline auto sum_of_squares(V const& a, U const& b) {
7777
*/
7878
template <class V, class U>
7979
inline auto L2(V const& a, U const& b) {
80-
return std::sqrt(sum_of_squares(a, b));
80+
// return std::sqrt(sum_of_squares(a, b));
81+
return sum_of_squares(a, b);
8182
}
8283

8384
/**

0 commit comments

Comments
 (0)