Skip to content

Fixing the Python binding of vpColor - #2001

Merged
rolalaro merged 2 commits into
lagadic:masterfrom
rolalaro:fix_python_vpcolor
Aug 25, 2026
Merged

Fixing the Python binding of vpColor#2001
rolalaro merged 2 commits into
lagadic:masterfrom
rolalaro:fix_python_vpcolor

Conversation

@rolalaro

Copy link
Copy Markdown
Contributor

[FIX] Fixing issue #2000 reporting inconsistent behavior of visp.coreColor

The problem comes from the fact that vpColor had a virtual destructor and not vpRGBa. Due to that, vpColor had a vtable but not vpRGBa, which led to a wrong memory access by Pybind11

…sp.core.Color

The problem comes from the fact that vpColor had a virtual destructor and not vpRGBa. Due to that, vpColor had a vtable but not vpRGBa, which led to a wrong memory access by Pybind11
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.58%. Comparing base (3f2737a) to head (d51def0).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2001      +/-   ##
==========================================
- Coverage   47.61%   47.58%   -0.03%     
==========================================
  Files         532      532              
  Lines       69468    69465       -3     
  Branches    32422    32393      -29     
==========================================
- Hits        33074    33053      -21     
+ Misses      32318    32316       -2     
- Partials     4076     4096      +20     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rolalaro
rolalaro merged commit 20e0113 into lagadic:master Aug 25, 2026
81 of 85 checks passed
@rolalaro
rolalaro deleted the fix_python_vpcolor branch August 25, 2026 06:09
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.

1 participant