LandSciTech / pfocal

Fast parallel convolution in R.
https://landscitech.github.io/pfocal/
Other
2 stars 1 forks source link

Throw statement needs replacement with stop() #14

Closed VLucet closed 3 years ago

VLucet commented 3 years ago

As per @xlirate's advice:

do not throw when under a low memory condition. throwing a string allocates one or more times and if we are in a low memory condition you might not be able to do that. Please find another way to exit(1) in that situation (p_focal.h:152)