Skip to content
Snippets Groups Projects
Commit 9e54fec3 authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

BUG: pbd stairs cmake merge fix, warning fix

parent a9809184
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,4 @@ SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples/PBD)
#-----------------------------------------------------------------------------
# Link libraries to executable
#-----------------------------------------------------------------------------
target_link_libraries(${PROJECT_NAME} SimulationManager apiUtilities)
#-----------------------------------------------------------------------------
# Set MSVC working directory to the install/bin directory
#-----------------------------------------------------------------------------
if(MSVC) # Configure running executable out of MSVC
set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${iMSTK_INSTALL_BIN_DIR}")
endif()
target_link_libraries(${PROJECT_NAME} SimulationManager apiUtilities)
\ No newline at end of file
......@@ -160,7 +160,7 @@ PointSet::setVertexDisplacements(const StdVectorOfVec3d& diff)
void
PointSet::setVertexDisplacements(const Vectord& u)
{
assert(u.size() == 3 * m_vertexPositions.size());
assert(static_cast<size_t>(u.size()) == 3 * m_vertexPositions.size());
ParallelUtils::parallelFor(m_vertexPositions.size(),
[&](const size_t i)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment