Skip to content
Snippets Groups Projects
Commit 762c8d4e authored by maxka's avatar maxka
Browse files

[Fix] forgot to change type name

parent a3996f65
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -65,7 +65,7 @@ struct Helper<Scalar, typename std::enable_if_t<IsNumber<Scalar>::value>> {
static void readBinary(std::istream& s, Scalar& v) {
for(auto&& vi: v)
s.read(reinterpret_cast<char*>(&v), sizeof(Field));
s.read(reinterpret_cast<char*>(&v), sizeof(Scalar));
}
template <class BitVector>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment