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

Avoid changing strings when complexifying #3

Open
sseraj opened this issue Feb 6, 2023 · 0 comments
Open

Avoid changing strings when complexifying #3

sseraj opened this issue Feb 6, 2023 · 0 comments

Comments

@sseraj
Copy link
Collaborator

sseraj commented Feb 6, 2023

Description

The current pattern matching does not check whether the patterns are used in strings that are printed out. For example in mdolab/adflow#229, I ran into a problem where a sequence of "======" being used as a separator was converted to ".ceq..ceq..ceq.". This does not necessarily break the compilation, but it can if the line exceeds the character limit.

Steps to reproduce issue

  1. Build the complex version of ADflow.
  2. Check src_cs/BCData.F90 for .ceq..ceq..ceq.

Current behavior

Some strings are substituted with complexified functions.

Expected behavior

Strings should stay the same.

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

1 participant