Skip to content

Commit

Permalink
try to stop _ci() from getting random bit-patterns in rest of union v…
Browse files Browse the repository at this point in the history
…alue
  • Loading branch information
mohawk2 committed Mar 27, 2024
1 parent 9abc2a9 commit f3c782d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Basic/Core/pdlperl.h.PL
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ print OUT <<'EOF';
#define __PDLPERL_H
#define PDL_XS_SCALAR(type, ppsym, val) \
PDL_Anyval av = {type, {.ppsym=val}}; \
PDL_Anyval av = {PDL_CLD, {.H=0 + 1I}}; /* guarantee all bits set */ \
av = (PDL_Anyval){type, {.ppsym=val}}; \
pdl *b = pdl_scalar(av); \
if (!b) XSRETURN_UNDEF; \
SV *b_SV = sv_newmortal(); \
Expand Down

0 comments on commit f3c782d

Please sign in to comment.