Skip to content

Conversation

@mandli
Copy link
Member

@mandli mandli commented Oct 31, 2025

As there was not implicit none in qinit the variables xi and yj were defaulting to single precision and somehow getting misinterpreted when relying on an external call to qtrue. This currently add explicit declarations of xi and yj to fix this. Declaring the interface to qtrue also gives an error due to type mismatch. Full fix includes an implicit none and explicit typing for all variables and the function qtrue.

@mandli mandli self-assigned this Oct 31, 2025
@mandli mandli requested a review from mjberger October 31, 2025 15:02
@mandli
Copy link
Member Author

mandli commented Oct 31, 2025

@mjberger this fixes the problem you were seeing, and I think the cause is now narrowed to implicit typing giving xi and yj single rather than double precision.

Copy link
Contributor

@mjberger mjberger left a comment

Choose a reason for hiding this comment

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

looks good. that's the way I fixed it too

@mandli mandli merged commit a092065 into clawpack:master Oct 31, 2025
4 checks passed
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.

2 participants