[Dplr-commits] r690 - branches/redfit/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Sep 12 19:46:02 CEST 2013
Author: mvkorpel
Date: 2013-09-12 19:46:02 +0200 (Thu, 12 Sep 2013)
New Revision: 690
Modified:
branches/redfit/R/redfit.R
Log:
Stop if tau estimation fails.
Modified: branches/redfit/R/redfit.R
===================================================================
--- branches/redfit/R/redfit.R 2013-09-12 16:46:53 UTC (rev 689)
+++ branches/redfit/R/redfit.R 2013-09-12 17:46:02 UTC (rev 690)
@@ -806,7 +806,8 @@
## determine rho, corresponding to tau
exp(-dt / tau)
} else {
- NaN
+ ## dplR: fail early
+ stop("error in tau estimation")
}
}
More information about the Dplr-commits
mailing list