Skip to content

Commit

Permalink
Using the correct data types
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Dec 19, 2023
1 parent 35eafa1 commit 8468057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dumux-precice/couplingadapter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public:
* Example 3D:\n
* [x_1, y_1, z_1, x_2, y_2, z_2,...x_numPoints, y_numPoints, z_numPoints]
*/
void setMesh(const std::string &meshName, std::vector<double> &positions);
void setMesh(const std::string &meshName, const std::vector<double> &positions);
/*!
* @brief Initializes the coupling
*
Expand Down
2 changes: 1 addition & 1 deletion examples/dummysolver/main_dummysolver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ try {

const int dimensions = couplingParticipant.getMeshDimensions(meshName);
assert(dimensions == 3);
const std::string scalarDataWriteName =
const std::string scalarDataWriteName =
(solverName == "SolverOne") ? "scalarDataOne" : "scalarDataTwo";
const std::string scalarDataReadName =
(solverName == "SolverOne") ? "scalarDataTwo" : "scalarDataOne";
Expand Down

0 comments on commit 8468057

Please sign in to comment.