summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec/c++/math.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec/c++/math.hpp b/modules/codec/c++/math.hpp
index c7da99e..d33482d 100644
--- a/modules/codec/c++/math.hpp
+++ b/modules/codec/c++/math.hpp
@@ -36,7 +36,7 @@ data<schema::Vector<T,D>, Encoding> normalize(const data<schema::Vector<T,D>>& i
saw::data<schema::Vector<T,D>, Encoding> out;
for(uint64_t i = 0u; i < D; ++i){
- out.at({{i}}).set(input.at({{i}})).get() / sqrt_inp_dot.at({}).get());
+ out.at({{i}}).set(input.at({{i}}).get() / sqrt_inp_dot.at({}).get());
}
return out;
}