Closed gaow closed 7 years ago
@gaow profmem
is only being used for testing; we should remove it once we are happy with the RcppArmadillo
implementation.
Made profmem
optional anyways with default false
, because it has computational overhead.
This behavior is inconvenient because it hides error status of the function, causing downstream procedures to fail and display error messages not directly relevant to where it actually fails. If there is no way to show error message and quit properly when
profmem
is used, then at least we should have adebug
switch in the function call, or, I do not mind tying it with some verbosity level.