Skip to content
Snippets Groups Projects
Commit 123e6f5e authored by Henrik Asmuth's avatar Henrik Asmuth
Browse files

Change uint to unsigned int in WbWriterVtkXmlImageBinary::writeData)

parent c75cdf6e
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
......@@ -257,7 +257,7 @@ void WbWriterVtkXmlImageBinary::writeData(const string &vtkfilename,
vector<string> &pointDataNames, vector<string> &cellDataNames,
vector<vector<double>> &nodedata, vector<vector<double>> &celldata,
UbTupleInt6& wholeExtent,
UbTupleFloat3& origin, UbTupleFloat3& spacing, UbTupleInt6& extent, uint precision)
UbTupleFloat3& origin, UbTupleFloat3& spacing, UbTupleInt6& extent, unsigned int precision)
{
ofstream out(vtkfilename.c_str(), ios::out | ios::binary);
out.precision(precision);
......
......@@ -101,7 +101,7 @@ public:
std::vector<std::string> &pointDataNames, std::vector<std::string> &cellDataNames,
std::vector<std::vector<double>> &nodedata, std::vector<std::vector<double>> &celldata,
UbTupleInt6 &wholeExtent,
UbTupleFloat3 &origin, UbTupleFloat3 &spacing, UbTupleInt6 &extent, uint precision=6);
UbTupleFloat3 &origin, UbTupleFloat3 &spacing, UbTupleInt6 &extent, unsigned int precision=6);
private:
void getMetaDataOfImage(std::vector<UbTupleFloat3> &nodes, UbTupleFloat3& origin, UbTupleFloat3& spacing, UbTupleInt6& extent);
......
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