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

Failed monotonic detection #1

Open
alifbe opened this issue Jun 25, 2018 · 1 comment
Open

Failed monotonic detection #1

alifbe opened this issue Jun 25, 2018 · 1 comment

Comments

@alifbe
Copy link

alifbe commented Jun 25, 2018

The code will only flag as non-monotonic if the last two points are not monotonic increasing.

The program should exit from loop after flag bMono = False on line 43

For j = 1 To nR - 1
If KnownXs(j, 1) <= KnownXs(j + 1) Then
bMono = True
Else: bMono = False
End If
Next j

@walice
Copy link
Owner

walice commented Jun 26, 2018

Thanks so much for flagging this! I'm away for the next two weeks but will look into this on my return. Cheers, Alice

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

No branches or pull requests

2 participants