Skip to content

fix: make flatten command work when equations don't include continuation backslash#173

Merged
chrispcampbell merged 1 commit into
developfrom
chris/172-flatten-no-backslash
Mar 14, 2022
Merged

fix: make flatten command work when equations don't include continuation backslash#173
chrispcampbell merged 1 commit into
developfrom
chris/172-flatten-no-backslash

Conversation

@chrispcampbell
Copy link
Copy Markdown
Contributor

Fixes #172 (backslash issue)
Fixes #68 (add test case for flatten command)

This resolves an issue caused by the new Vensim 9.2 file format that affected the sde flatten command that we use for building En-ROADS. The fix shouldn't affect other behavior in the preprocessor or elsewhere, and flatten isn't yet a fully supported command in SDE anyway (still somewhat experimental). I've added a test case to our suite to verify, and also verified that En-ROADS builds successfully again after updating our mdl files to the Vensim 9.2 file format.

@ToddFincannon: Since this issue was blocking our upgrade to the new format, I'm going to merge this shortly without the usual review, but please feel free to comment if you have time and spot anything incorrect.

@chrispcampbell chrispcampbell merged commit ac7c027 into develop Mar 14, 2022
@chrispcampbell chrispcampbell deleted the chris/172-flatten-no-backslash branch March 14, 2022 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sde flatten fails with latest Vensim 9.2 format Add test case for flatten command

1 participant