warning: control reaches end of non-void function in VectorHeatMethodSolver::computeLogMap
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Open src/surface/vector_heat_method.cpp around line 350 and compare the return path with the analogous code around line 695. Confirm the compiler warning in VectorHeatMethodSolver::computeLogMap, then ensure every control path returns appropriately and the warning is gone.
Written by the indexing model from the issue text.
Description
On line
I get:
/work/src/geometrycentral/src/surface/vector_heat_method.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type
proposed fix (sames as line 695)
throw std::logic_error("bad switch");
return VertexData<Vector2>();
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nmwsharp/geometry-central
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
nmwsharp/geometry-central#255 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
nmwsharp/geometry-central#253 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
nmwsharp/geometry-central#247 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
nmwsharp/geometry-central#246 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
nmwsharp/geometry-central#234 ·
All issues in nmwsharp/geometry-central
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·