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

Intel Fortran (ifort) errors because the boolean type doesn't match the prototype #2531

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

Conversation

dgarnier
Copy link
Contributor

@dgarnier dgarnier commented Feb 4, 2023

The prototype had explicit boolean .false. in it. Just convert to use boolean.

@@ -254,7 +254,7 @@ Subroutine C9INI(ndata,xdata,fdata,dfdata,break,c)
Do j = 1,ndata
idx(j) = j
Enddo
Call SVRGP(ndata,xdata,break,1,idx)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked this code better before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then should I change the prototype that doesn't match?

@@ -248,7 +248,7 @@ Subroutine DC9INI(ndata,xdata,fdata,dfdata,break,c)
Do j = 1,ndata
idx(j) = j
Enddo
Call DSVRGP(ndata,xdata,break,1,idx)
Call DSVRGP(ndata,xdata,break,.true.,idx)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really supposed to be .true. - I hate fortran

@WhoBrokeTheBuild WhoBrokeTheBuild added bug An unexpected problem or unintended behavior core Relates to the core libraries and scripts labels Apr 6, 2023
@WhoBrokeTheBuild
Copy link
Member

Retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior core Relates to the core libraries and scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants