LinguaPhylo / linguaPhylo

LinguaPhylo: A language for describing, visualising and simulating probabilistic phylogenetic models
GNU Lesser General Public License v3.0
18 stars 7 forks source link

Data clamping bug #532

Closed walterxie closed 3 hours ago

walterxie commented 6 hours ago

public static boolean isDataClamping(Var varInModel, LPhyParserDictionary parser) used in parser should not use getModelDictionary().containsKey(id) to compare var in model block, because this line has been completely parsed into lphy obj.

alexeid commented 5 hours ago

I don't understand this error? It seems that the error is in how the model dictionary is populated in current code... This code should work as intended so I would say that some other code has broken the contract.