Skip to content

uint64 FA < big negative scalar fails #301

@OrestZborowski-SIG

Description

@OrestZborowski-SIG
import riptable as rt
import numpy as np

arr = [1]
test =  -2147483649
#test = -1
dt = np.uint64

na = np.array(arr, dtype=dt)
fa = rt.FA(arr, dtype=dt)

nt = na < test
print(f"np:{na} < {test} = {nt}")

ft = fa < test
print(f"fa:{fa} < {test} = {ft}")

produces

np:[1] < -2147483649 = [False]
fa:[1] < -2147483649 = [ True]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions