Skip to content

warning: control reaches end of non-void function in VectorHeatMethodSolver::computeLogMap #256

Description

@dyollb

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>();

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions