Skip to content

Commit

Permalink
beast logEvery is int #9
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Sep 21, 2023
1 parent 8f3fe76 commit f43289f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public Logger createLogger(long logEvery, final Multimap<BEASTInterface, Graphic
structuredTreeLogger.setInputValue("mascot", mascot);

Logger logger = new Logger();
logger.setInputValue("logEvery", logEvery);
// must convert to int
logger.setInputValue("logEvery", Math.toIntExact(logEvery));
logger.setInputValue("log", structuredTreeLogger);

logger.setInputValue("fileName", getFileName());
Expand Down

0 comments on commit f43289f

Please sign in to comment.