Skip to content

Commit 8ac92ba

Browse files
committed
rename reorder.hpp
1 parent c03942c commit 8ac92ba

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

R/pmt.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,11 @@ define_pmt <- function(
222222
c(plugins, if (cpp_standard_ver < 201402L) "cpp14")
223223
},
224224
includes = {
225-
hpps <- c("progress", "reorder", impl)
225+
hpps <- c("permutation", "progress", impl)
226226
c(includes, paste0("#include<pmt/", hpps, ".hpp>"))
227227
},
228-
env = environment(super$.calculate_statistic), code = {
228+
env = environment(super$.calculate_statistic),
229+
code = {
229230
args <- paste0(
230231
"arg", 1:(n <- if (inherit == "rcbd") 2 else 3)
231232
)
File renamed without changes.

src/pmt_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
using namespace Rcpp;
44

5+
#include "pmt/permutation.hpp"
56
#include "pmt/progress.hpp"
6-
#include "pmt/reorder.hpp"
77

88
#include <type_traits>
99

0 commit comments

Comments
 (0)