sizespectrum / mizer
Showing 1 of 1 files from the diff.

@@ -213,7 +213,8 @@
Loading
213 213
        # mvfft() does a Fourier transform of each column of its argument, but
214 214
        # we need the Fourier transforms of each row, so we need to apply mvfft()
215 215
        # to the transposed matrices and then transpose again at the end.
216 -
        avail_energy <- Re(t(mvfft(t(params@ft_pred_kernel_e) * mvfft(t(prey)),
216 +
        avail_energy <- Re(base::t(mvfft(base::t(params@ft_pred_kernel_e) * 
217 +
                                             mvfft(base::t(prey)),
217 218
                                   inverse = TRUE))) / length(params@w_full)
218 219
        # Only keep the bit for fish sizes
219 220
        avail_energy <- avail_energy[, idx_sp, drop = FALSE]
@@ -452,7 +453,7 @@
Loading
452 453
mizerPredMort <- function(params, n, n_pp, n_other, t, pred_rate, ...) {
453 454
    idx_sp <- (length(params@w_full) - 
454 455
                   length(params@w) + 1):length(params@w_full)
455 -
    return((t(params@interaction) %*% pred_rate)[, idx_sp, drop = FALSE])
456 +
    return((base::t(params@interaction) %*% pred_rate)[, idx_sp, drop = FALSE])
456 457
}
457 458
458 459
#' Get predation mortality rate for resource needed to project standard mizer 
Files Coverage
R 89.58%
src/inner_project_loop.cpp 100.00%
Project Totals (28 files) 89.60%
Notifications are pending CI completion. Periodically Codecov will check the CI state, when complete notifications will be submitted. Push notifications now.
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading