Skip to content

Commit dd1e9da

Browse files
committed
Should pick up disp_stars_cpp now
1 parent d3c4973 commit dd1e9da

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.Rbuildignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
.github
4+
.git
5+
.DS_Store
6+
.Rhistory

tests/test_disp_stars_cpp.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ for (tc in test_cases) {
5252
z_disp <- rep(veldisp / (c_to_mps / 1000), n) # constant z_disp for simplicity
5353

5454
ref <- disp_stars_R(wave_log, lum_log, z_disp, grid, weights, res)
55-
got <- .disp_stars_cpp(wave_log, lum_log, z_disp, grid, weights, res)
55+
got <- ProSpect:::.disp_stars_cpp(wave_log, lum_log, z_disp, grid, weights, res)
5656

5757
rel_err <- max(abs(ref - got) / pmax(abs(ref), 1e-300))
5858

0 commit comments

Comments
 (0)