Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like isUV flag isn't set when ULL PDL is converted to Perl scalars #458

Closed
vadim-160102 opened this issue Dec 13, 2023 · 1 comment

Comments

@vadim-160102
Copy link

This conversion is implicit in stringification (e.g. in REPL), and therefore easy to demonstrate:

Perl executable: C:\berrybrew\strawberry-perl-5.38.0.1-64bit-PDL\perl\bin\perl.exe
Perl version   : 5.38.0 / MSWin32-x64-multi-thread
PDL version    : 2.084

pdl> p $u = pdl(ulonglong, [0,1])
[0 1]
pdl> p $u-> info
PDL: ULongLong D [2]
pdl> p $uu = ~ $u
[-1 -2]
pdl> p $uu-> info
PDL: ULongLong D [2]
pdl> p abs $uu
[-1 -2]
pdl> p $uu > 0
[1 1]
pdl> p $uu-> unpdl-> @*
-1 -2

@mohawk2
Copy link
Member

mohawk2 commented Jan 29, 2024

Thank you for the report! This will be getting released quite soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants