Skip to content
Commit 5afc60de authored by Jerry-Ge's avatar Jerry-Ge
Browse files

Fix errors when converting negative numbers to uint64 representations



- In the previous implementation, we're receiving warnings when the
  input val is negative. That warning now becomes an ERROR starting from
numpy 2.0
- Updated the cast usage to achive the old behavior (cast overflows) as
  suggested by the warning.

Signed-off-by: Jerry-Ge's avatarJerry Ge <jerry.ge@arm.com>
Change-Id: I21cb8a0c7dbac898ff5b06b9ead62070a9edd2b3
parent 1f8b7d56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment