Skip to content

Commit

Permalink
Fix for win compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
massimim committed Sep 13, 2023
1 parent 3c7f092 commit 74a0ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libNeonDomain/include/Neon/domain/tools/SpaceCurves.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class Encoder
-> uint64_t
{
uint64_t mortonEncoded = mortonEncode(dim, idx);
uint64_t bits = std::ceil(std::log2(dim.newType<uint64_t>().rMax()));
uint64_t bits = uint64_t(std::ceil(std::log2(dim.newType<uint64_t>().rMax())));
return mortonToHilbert3D(mortonEncoded, bits);
}

Expand Down

0 comments on commit 74a0ae0

Please sign in to comment.