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

Visual Studio finds a random clamp() implementation #6

Open
Robadob opened this issue May 3, 2024 · 0 comments
Open

Visual Studio finds a random clamp() implementation #6

Robadob opened this issue May 3, 2024 · 0 comments

Comments

@Robadob
Copy link
Member

Robadob commented May 3, 2024

This can cause a problem if someone copies the convolution implementation but not the clamp fn.

Not sure where it's coming from, intellisense redlines.
<algorithm> has std::clamp, but that's not available in C so it's probably a weird Visual Studio fake thing.

Best to rename this function if the convolution part is reused.

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