WSL/SLF GitLab Repository

Skip to content
Snippets Groups Projects
Commit df0e5621 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Some type issues for the new Illusion server as well as better error message for plugin loading.

parent 99e236b4
Branches
Tags
No related merge requests found
......@@ -163,7 +163,7 @@ void IOHandler::loadPlugin(const std::string& libname, const std::string& classn
if (dynLibrary != NULL)
delete dynLibrary;
#endif
std::cerr << "\t" << e.what() << std::endl;
std::cerr << AT << ": [E] failed while loading plugin - " << e.what() << std::endl;
}
}
......
......@@ -132,7 +132,7 @@ bool FitLeastSquare::computeFit() {
Matrix dLambda; //parameters variations
initDLambda(dLambda);
Matrix A(nPts, nParam);
Matrix A((unsigned int)nPts, (unsigned int)nParam);
Matrix dBeta(nPts,(unsigned)1);
unsigned int iter = 0;
......
......@@ -711,7 +711,7 @@ void Interpol2D::ODKriging(const std::vector<double>& vecData, const std::vector
grid.set(dem.ncols, dem.nrows, dem.cellsize, dem.llcorner);
size_t nrOfMeasurments = vecStations.size();
Matrix G(nrOfMeasurments, nrOfMeasurments);
Matrix G((unsigned int)nrOfMeasurments, (unsigned int)nrOfMeasurments);
Matrix gamma(nrOfMeasurments, (unsigned int)1);
const Matrix One(nrOfMeasurments, (unsigned int)1, 1.);
const Matrix One_T = One.getT();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment