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

Replace boost conversion_traits with std::common_type #1723

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Idclip
Copy link
Contributor

@Idclip Idclip commented Dec 6, 2023

Re-creating this so that we don't lose visibility on it. It currently cannot be merged due to #1700

… remaining mandatory boost dependency

Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
@Idclip Idclip marked this pull request as draft December 12, 2023 20:48
@bpmckinnon
Copy link
Contributor

One possible option given that std::numeric_limits is overridden is to try using std::numeric_limits::is_specialized instead.
https://en.cppreference.com/w/cpp/types/numeric_limits/is_specialized

@bpmckinnon
Copy link
Contributor

I've verified that this is at least a potential option on my windows build... but I can't guarantee it will work in the build environment that is failing.

@apradhana
Copy link
Contributor

As for the problem that Matthew raised in Issue 1700 , I have a fix that I included in the draft PR for supporting half grid. What's needed is adding a cwiseAdd specialization for Vec3<math::half> as shown here.

@bpmckinnon
Copy link
Contributor

Has there been any update on the cwiseAdd function? Otherwise I can add the is_specialized change I proposed.

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.

None yet

3 participants