Skip to content

Commit

Permalink
fix wrong model selected & format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianHirt committed Feb 13, 2024
1 parent 134c20e commit 7f18e89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions container/perf-measurement/container_perf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def build_jupedsim():

def run_test(test, args, build_dir, result_dir):
test_env = os.environ.copy()
test_env["PYTHONPATH"] = (
f"/src/python_modules/jupedsim:/src/python_modules/jupedsim_visualizer:/build/lib"
)
test_env[
"PYTHONPATH"
] = f"/src/python_modules/jupedsim:/src/python_modules/jupedsim_visualizer:/build/lib"

perf_data_file_name = f"{test}.perf.data"
perf_file_name = f"{test}.perf"
Expand Down
2 changes: 1 addition & 1 deletion libsimulator/src/SocialForceModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Point SocialForceModel::AgentForce(const GenericAgent& ped1, const GenericAgent&
{
double dist = (ped1.pos - ped2.pos).Norm();
auto& model1 = std::get<SocialForceModelData>(ped1.model);
auto& model2 = std::get<SocialForceModelData>(ped1.model);
auto& model2 = std::get<SocialForceModelData>(ped2.model);

double total_radius = model1.radius + model2.radius;
double pushing_force_length =
Expand Down

0 comments on commit 7f18e89

Please sign in to comment.