Skip to content

Commit

Permalink
Took out createJItterVectorFromValue()
Browse files Browse the repository at this point in the history
  • Loading branch information
rklasky committed Jan 23, 2024
1 parent 651eb5a commit 632ac1f
Show file tree
Hide file tree
Showing 7 changed files with 3,597 additions and 3,596 deletions.

Large diffs are not rendered by default.

1,198 changes: 599 additions & 599 deletions tests/testthat/data/input/REcosystem_Baseline_AB_ForcedBio_OutCatch_Jitter.dat

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,198 changes: 599 additions & 599 deletions tests/testthat/data/input/REcosystem_Baseline_RK4_ForcedBio_OutCatch_Jitter.dat

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion tests/testthat/test-rpath.R
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,8 @@ testthat::test_that("Rpath Unit Tests", {
numMonths <- nrow(ForcedBio)
# print(paste0(modNum," ",i," ",SEED_OFFSET," ",aSpecies))
speciesBiomass <- REcosystem_scene_jitter$start_state$Biomass[aSpecies]
ForcedBio[,aSpecies] <- createJitterVectorFromValue(speciesBiomass, numMonths, modNum*i*SEED_OFFSET, "Months","Biomass (mt/km²)",paste0(theTypeData,' with ','Jittered',' Noise - ',aSpecies))
ForcedBio[,aSpecies] <- speciesBiomass + i
# ForcedBio[,aSpecies] <- createJitterVectorFromValue(speciesBiomass, numMonths, modNum*i*SEED_OFFSET, "Months","Biomass (mt/km²)",paste0(theTypeData,' with ','Jittered',' Noise - ',aSpecies))
}
REcosystem_scene_jitter$forcing$ForcedBio <- copy(ForcedBio)

Expand Down

0 comments on commit 632ac1f

Please sign in to comment.