Skip to content
Snippets Groups Projects
Commit dd594c2e authored by Florian Angerer's avatar Florian Angerer
Browse files

Added missing include and fixed typo causing compilation errors.

parent d3f51aaf
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
* questions.
*/
#include <rffiutils.h>
#include "../common/rffi_upcalls.h"
double Rf_dnorm(double a, double b, double c, int d) {
unimplemented("Rf_dnorm");
......@@ -59,19 +60,19 @@ void Rf_pnorm_both(double a, double * b, double * c, int d, int e) {
}
double Rf_dunif(double a, double b, double c, int d) {
return ((call_Rf_dunif) callbacks[Rf_dunif])(a, b, c, d);
return ((call_Rf_dunif) callbacks[Rf_dunif_x])(a, b, c, d);
}
double Rf_punif(double a, double b, double c, int d, int e) {
return ((call_Rf_punif) callbacks[Rf_punif])(a, b, c, d, e);
return ((call_Rf_punif) callbacks[Rf_punif_x])(a, b, c, d, e);
}
double Rf_qunif(double a, double b, double c, int d, int e) {
return ((call_Rf_qunif) callbacks[Rf_qunif])(a, b, c, d, e);
return ((call_Rf_qunif) callbacks[Rf_qunif_x])(a, b, c, d, e);
}
double Rf_runif(double a, double b) {
return ((call_Rf_runif) callbacks[Rf_runif])(a, b);
return ((call_Rf_runif) callbacks[Rf_runif_x])(a, b);
}
double Rf_dgamma(double a, double b, double c, int d) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment