Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 61: checking Stan version: https://github.com/brian-lau/Mat… #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

augeas
Copy link

@augeas augeas commented Mar 28, 2023

Fixes issue 61:

The regex to check the cmdstan version is broken, but the suggestion in the issue did not resolve the issue on Centos.

The regex to check the Stan version will be more robust if we:

  1. match on the first string of numerals and dots following a "v": '(?<=v)[0-9.]+'
  2. split on "." and cast the chunks to integers as before

On branch master
Changes to be committed:
modified: StanModel.m

The regex to check the Stan version will be more robust if we:
   1) *match* on the first string of numerals and dots following a "v": '(?<=v)[0-9\.]+'
   2) *split* on "." and cast the chunks to integers as before

 On branch master
 Changes to be committed:
	modified:   StanModel.m
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.

1 participant