diff --git a/DESCRIPTION b/DESCRIPTION index 5d8fe64..dc70b8f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: VAST Type: Package Title: Vector-Autoregressive Spatio-Temporal (VAST) Model -Version: 3.11.0 -Date: 2024-01-10 +Version: 3.11.1 +Date: 2024-06-20 Authors@R: c(person(given = "James", family = "Thorson", diff --git a/R/make_map.R b/R/make_map.R index 20ced8c..dbb45b3 100644 --- a/R/make_map.R +++ b/R/make_map.R @@ -211,7 +211,7 @@ function( DataList, if("L_epsilon2_z" %in% names(TmbParams)) Map[["L_epsilon2_z"]] = ( rep(NA,length(TmbParams[["L_epsilon2_z"]])) ) } if( all(DataList[["FieldConfig"]][1:2,2] == -1 )){ - if( !( "Xconfig_zcp" %in% names(DataList) && any(DataList[["Xconfig_zcp"]][2,,] %in% c(2,3)) ) ){ + if( !( any(DataList[["X2config_cp"]]%in%c(2,3,4)) | any(DataList[["Q2config_k"]]%in%c(2,3)) ) ){ Map[["logkappa2"]] = (NA) if("rho_c2" %in% names(TmbParams)) Map[["rho_c2"]] = (NA) } diff --git a/manual/NEWS.docx b/manual/NEWS.docx index 71f090e..64814e5 100644 Binary files a/manual/NEWS.docx and b/manual/NEWS.docx differ diff --git a/manual/NEWS.pdf b/manual/NEWS.pdf index 08759ca..e13779d 100644 Binary files a/manual/NEWS.pdf and b/manual/NEWS.pdf differ