Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit91612c5

Browse files
df7cbmsdemlei
authored andcommitted
Fix smoc_degrade bitmask on 32bit
1 parent229527c commit91612c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎process_moc.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ moc_round(void* moc_in_context, int order, Smoc* moc_a, int32 moc_a_end,
965965

966966
intshift =2 * (HEALPIX_MAX_ORDER - order);
967967
hpint64first = (x.first >> shift) << shift;// set low bits to zero
968-
hpint64low_bits_one = (1L << shift) -1;
968+
hpint64low_bits_one = (1LL << shift) -1;
969969
hpint64second = ((x.second + low_bits_one) >> shift) << shift;// round low bits up
970970

971971
add_to_map(m.input_map, first, second);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp