Skip to content

Commit

Permalink
Windows fluid file path ...
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardjervell committed Nov 8, 2024
1 parent a519e17 commit 4a6565b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/HardSphere.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class HardSphere : public KineticGas {
}

double w_integral(int i, int j, double T, int l, int r){
int f = Fac(r + 1).eval();
long long f = Fac(r + 1).eval();
if (l % 2 == 0){
return 0.25 * (2 - ((1.0 / (l + 1)) * 2)) * f;
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/KineticGas_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ Eigen::VectorXd KineticGas::compute_diffusive_expansion_coeff(double rho, double
}

vector3d KineticGas::reshape_diffusive_expansion_vector(const Eigen::VectorXd& d_ijq){
unsigned long N{d_ijq.size() / (Ncomps * Ncomps)};
size_t N{d_ijq.size() / (Ncomps * Ncomps)};
vector3d d_qij_matr(N, vector2d(Ncomps, vector1d(Ncomps, 0.)));
for (int i = 0; i < Ncomps; i++){
for (int j = 0; j < Ncomps; j++){
Expand Down
2 changes: 1 addition & 1 deletion cpp/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static void __set_fluid_dir() {

std::string libPath = std::string(chr_path);
std::filesystem::path path(libPath);
fluid_dir = std::wstring(path.parent_path() / rel_fluid_dir);
fluid_dir = (path.parent_path() / rel_fluid_dir).string();
}
}

Expand Down

0 comments on commit 4a6565b

Please sign in to comment.