Skip to content

Commit

Permalink
price at metier level working now
Browse files Browse the repository at this point in the history
  • Loading branch information
dorleta committed May 30, 2024
1 parent ced4378 commit 1cdf19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/OM_2c_Price_Dynamics.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ elasticPrice <- function(fleets, covars, fleets.ctrl, stnm, flnm, mtnm, year = 1
# When La = 0 -> Pa = Inf -> set Pa = NA
Pa <- ifelse( Pa==Inf, NA, Pa)

fms@price[,yr,i,ss] <- Pa
fms@price[,yr,,ss] <- Pa


fleets[[flnm]]@metiers[[mtnm]]@catches[[stnm]] <- fms
Expand Down

0 comments on commit 1cdf19a

Please sign in to comment.