Skip to content
Snippets Groups Projects
Commit 4bf389af authored by Cédric Traizet's avatar Cédric Traizet
Browse files

COMP: replace multi dimensional variable length array by vector of vector

parent cc44c827
No related branches found
No related tags found
No related merge requests found
...@@ -494,7 +494,7 @@ namespace otb ...@@ -494,7 +494,7 @@ namespace otb
int nbLinesSlave = slavePtr->GetLargestPossibleRegion().GetSize()[1]; int nbLinesSlave = slavePtr->GetLargestPossibleRegion().GetSize()[1];
// Array to store correlation rate for each pixel and each shift // Array to store correlation rate for each pixel and each shift
double arrayRate [2*m_WinAround_ShiftAzi+1][2*m_WinAround_ShiftRan+1]; std::vector< std::vector<double> > arrayRate (2*m_WinAround_ShiftAzi+1, std::vector<double>(2*m_WinAround_ShiftRan+1));
float arrayPic[3][3]; float arrayPic[3][3];
float dx, dy, VAL_MAX; float dx, dy, VAL_MAX;
......
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