Skip to content

Commit f3dbe20

Browse files
committed
correction for dnt(), pnt(), qnt()
1 parent 0560600 commit f3dbe20

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2013-11-22 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* inst/include/Rcpp/stats/nt.h: Correct expandion for (d|q|p)nt() function
4+
15
2013-11-05 Dirk Eddelbuettel <edd@debian.org>
26

37
* .travis.yml: Added to support continuous integration on github

inst/NEWS.Rd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
\title{News for Package 'Rcpp'}
33
\newcommand{\cpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
44

5+
\section{Changes in Rcpp version 0.10.7 (2013-11-21)}{
6+
\itemize{
7+
\item Changes in Rcpp API:
8+
\itemize{
9+
\item The function \code{dnt}, \code{pnt}, \code{qnt} sugar
10+
function were incorrectly expanding to the no-degree-of-freedoms variant.
11+
}
12+
}
13+
}
14+
515
\section{Changes in Rcpp version 0.10.6 (2013-10-27)}{
616
\itemize{
717
\item Changes in Rcpp API:

inst/include/Rcpp/stats/nt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// nt.h: Rcpp R/C++ interface class library --
44
//
5-
// Copyright (C) 2010 - 2011 Douglas Bates, Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2013 Douglas Bates, Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//
@@ -22,7 +22,7 @@
2222
#ifndef Rcpp__stats__nt_h
2323
#define Rcpp__stats__nt_h
2424

25-
RCPP_DPQ_2(t,::Rf_dt,::Rf_pt,::Rf_qt)
25+
RCPP_DPQ_2(nt,::Rf_dnt,::Rf_pnt,::Rf_qnt)
2626

2727
#endif
2828

0 commit comments

Comments
 (0)