Skip to content

Commit

Permalink
fix notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed Feb 22, 2024
1 parent c2957eb commit f9f2ff5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: VIC5
Type: Package
Title: The Variable Infiltration Capacity (VIC) Hydrological Model
Version: 0.2.6
Version: 0.2.7
Authors@R: c(
person("Ruida", "Zhong", email = "zrd2017@163.com", role = c("aut", "ctb")),
person("Dongdong", "Kong", role = c("aut", "cre"),
Expand Down
6 changes: 2 additions & 4 deletions R/VIC5-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
## usethis namespace: end
NULL

.onLoad <- function (libname, pkgname){
.onLoad <- function(libname, pkgname) {
if(getRversion() >= "2.15.1") {
utils::globalVariables(
c(".", "i")
)
utils::globalVariables(c(".", "i"))
}
}
2 changes: 1 addition & 1 deletion src/vic/drivers/shared_all/src/initialize_soil.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <vic_driver_shared_all.h>

initialize_soil1(cell_data_struct *cell) {
void initialize_soil1(cell_data_struct *cell) {
extern option_struct options;

size_t lindex, frost_area;
Expand Down
2 changes: 1 addition & 1 deletion src/vic/drivers/shared_all/src/initialize_veg.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <vic_driver_shared_all.h>

initialize_veg1(veg_var_struct *veg_var) {
void initialize_veg1(veg_var_struct *veg_var) {
extern option_struct options;

size_t k;
Expand Down

0 comments on commit f9f2ff5

Please sign in to comment.