Skip to content

Commit 0eb983e

Browse files
committed
Update toolkit
1 parent 2ec3655 commit 0eb983e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cmake/recipes/ipc_toolkit.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ endif()
88
message(STATUS "Third-party: creating target 'ipc::toolkit'")
99

1010
include(CPM)
11-
CPMAddPackage("gh:geometryprocessing/GCP-toolkit#c7f8b9d5aef569b224bb29814173babf8a0e3f89")
11+
CPMAddPackage("gh:geometryprocessing/GCP-toolkit#11467a0f90281cb5252af91938b6deacfdf7eee5")

tests/test_diff.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,9 +1379,7 @@ TEST_CASE("shape-pressure-nodes-3d", "[.][test_adjoint]")
13791379
state.get_vertices(V);
13801380
Eigen::VectorXd V_flat = utils::flatten(V);
13811381
auto b_idx = variable_to_simulations[0]->get_output_indexing(x);
1382-
logger().trace("b_idx {}", b_idx.size());
1383-
for (int i = 0; i < b_idx.size(); ++i)
1384-
x(i) = V_flat(b_idx(i));
1382+
x = V_flat(b_idx);
13851383
velocity_discrete = velocity(x);
13861384

13871385
auto nl_problem = std::make_shared<AdjointNLProblem>(obj, variable_to_simulations, states, opt_args);

0 commit comments

Comments
 (0)