Skip to content
Snippets Groups Projects
Commit 4439fd06 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing typo in install

parent ed943ea0
No related branches found
No related tags found
No related merge requests found
Pipeline #2302 passed
......@@ -106,7 +106,7 @@ install(FILES HDF5_wr/HDF5_wr.hpp
DESTINATION openfpm_io/include/HDF5_wr)
install(FILES RawReader/InitGridWithPixel.hpp
DESTINATION openfpm/io/include/RawReader/)
DESTINATION openfpm_io/include/RawReader/)
install(FILES util/PathsAndFiles.hpp
DESTINATION openfpm_io/include/util)
......
......@@ -24,7 +24,7 @@
#include "data_type/aggregate.hpp"
#include "Decomposition/CartDecomposition.hpp"
#include "../redistancing_Sussman/HelpFunctionsForGrid.hpp"
#include "level_set/redistancing_Sussman/HelpFunctionsForGrid.hpp"
typedef signed char BYTE;
/**@brief Read the number of pixels per dimension from a csv-file in order to create a grid with the same size.
*
......
......@@ -16,7 +16,7 @@
#include <iostream>
#include <fstream>
#include <boost/filesystem.hpp>
/**@brief Gets the current working directory and returns path as string without the "cmake-build-debug".
/**@brief Gets the current working directory and returns path as string.
*
* @return Std::string of path to current working directory.
*/
......@@ -29,12 +29,9 @@ std::string get_cwd()
// convert current directory to string
std::string s_cwd;
s_cwd = cwd;
// split string into file and path (to get rid of "cmake-build-debug" at the end of cwd)
std::size_t botDirPos = s_cwd.find_last_of("/");
std::string dir = s_cwd.substr(0, botDirPos);
dir = dir + "/";
// std::cout << "The current working directory is: " << dir << std::endl;
return dir;
return s_cwd;
}
/**@brief Checks if a file already exists.
*
......
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