E3SM-Project / E3SM-Project/EKAT

Make genRandArray accept 64 bit ints for the array length

Open
#207 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
22
Forks
12
PR merge metrics
No merged PRs in 30d

Description

It is possible that the user tries to stress test some functionalities for very large arrays. In this case, we _might_ need 64 bits for their size.

Note: I don't think this is very likely, but the mod is also very simple (make the fcn's take `long long`/`std::int_64t` instead of `int`, or template on the int type), so we might as well do it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.