centreformicrosimulation / SimPaths

SimPaths is an open-source microsimulation framework for life course analysis, developed and maintained by CeMPA at the University of Essex
5 stars 10 forks source link

Cannot find symbol `replaceValue` #19

Closed andrewbaxter439 closed 8 months ago

andrewbaxter439 commented 8 months ago

https://github.com/centreformicrosimulation/SimPaths/blob/e9e3980d18313c3090947e01aeaadbf1cac7b361/src/main/java/simpaths/data/Parameters.java#L2519C15-L2519C15

Should this be valueMap.replace(year, valPut);?

At the moment returns [ERROR] cannot find symbol; symbol: method replaceValue(int,java.lang.Object) on compilation

andrewbaxter439 commented 8 months ago

@justin-ven apologies was playing around with this and not sure if it's an error?

pbronka commented 8 months ago

replaceValue requires JAS-mine-core version 4.3.4 or higher. I have updated the pom.xml of SimPaths which should fix this so closing.