You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A segfault was created in PDL 2.069-2.077 because we are calling the stats() function on empty arrays. A memory allocation change in PDL now causes an error where previously it was working by happy accident. As of PDL 2.078 an exception will be thrown if we attempt this behaviour:
Error in medover:cannot process empty ndarray at ../../blib/lib/PDL/PP.pm line 1065
and this can be seen in t/60-autoqc-results-sequence_error.t where calls to reverse_average_percent_error() invoke the PDL stats function. Compatibility with future versions can be ensured by trapping assignment of undefs into pdl(), as in any case the result would be 0.
The text was updated successfully, but these errors were encountered:
A segfault was created in PDL 2.069-2.077 because we are calling the stats() function on empty arrays. A memory allocation change in PDL now causes an error where previously it was working by happy accident. As of PDL 2.078 an exception will be thrown if we attempt this behaviour:
and this can be seen in
t/60-autoqc-results-sequence_error.t
where calls toreverse_average_percent_error()
invoke the PDL stats function. Compatibility with future versions can be ensured by trapping assignment of undefs intopdl()
, as in any case the result would be0
.The text was updated successfully, but these errors were encountered: