Skip to content

Remove \\ at end of comments - #3429

Merged
ZedThree merged 2 commits into
nextfrom
warning-multiline-comments
Jul 24, 2026
Merged

Remove \\ at end of comments#3429
ZedThree merged 2 commits into
nextfrom
warning-multiline-comments

Conversation

@dschwoerer

Copy link
Copy Markdown
Contributor

This was partially broken by clang-format.
It also make the compiler unhappy, that warns about that.

I think you did that, @ZedThree , is that needed or can it be reverted?

This was partially broken by clang-format.
It also make the compiler unhappy, that warns about that.
@ZedThree

ZedThree commented Jul 9, 2026

Copy link
Copy Markdown
Member

It's for the LaTeX rendering of the equations in the docstring -- not super important, and I'd rather break that than have a warning. Might need something silly like \\\\

@dschwoerer

Copy link
Copy Markdown
Contributor Author

I think this should work now - the \\ are still there, and as long as it is not at the EOL, the compiler should also be happy about it.
Clang-format should also not move them around - in order to align the last \

@ZedThree Installing check-github-workflows does not seem to work with python3.15 :-(

@ZedThree
ZedThree merged commit 673665d into next Jul 24, 2026
23 checks passed
@ZedThree
ZedThree deleted the warning-multiline-comments branch July 24, 2026 09:50
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