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

Fixed incorrect assertion for min and max #1009

Merged
merged 2 commits into from
Apr 26, 2020
Merged

Fixed incorrect assertion for min and max #1009

merged 2 commits into from
Apr 26, 2020

Conversation

Zuzu-Typ
Copy link

@Zuzu-Typ Zuzu-Typ commented Apr 23, 2020

In vector_common, the min and max functions exclaim to

only accept floating-point or integer inputs

even though they only accept floating-point inputs.

This pr should fix that.

The min and max functions in func_common are fine though and have correct assertions (:

Zuzu-Typ added a commit to Zuzu-Typ/PyGLM that referenced this pull request Apr 23, 2020
Fixed #66
Temporary workaround / fix for g-truc/glm#1009
Zuzu-Typ added a commit to Zuzu-Typ/PyGLM that referenced this pull request Apr 23, 2020
* Updated type checker format types

* Updated README

* Added norm, fixed div/0

+ Added the norm extension ( #63 )
+ Fixed #65 for types
~ Moved silence to warnings.h
~ Fixed a few minor issues

* Added decompose extension

#68 is done

* Fixed clamp, min and max for int types

Fixed #66
Temporary workaround / fix for g-truc/glm#1009

* Improved setattr for vec types

Should fix #67

* Updated tests
@Groovounet Groovounet merged commit 7574b17 into g-truc:master Apr 26, 2020
@Groovounet
Copy link
Member

Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants