Small modifications here and there to be MSVC++ compatible
Mainly, time.h -> ctime
definition of loop index out of loops when multiply used
no typename in declaration using template typename
This commit is contained in:
parent
a5e3abd9f6
commit
d7c3d973c7
14 changed files with 56 additions and 27 deletions
|
|
@ -239,16 +239,16 @@ template <>
|
|||
void eoValueParam<std::vector<std::vector<double> > >::setValue(std::string _value)
|
||||
{
|
||||
std::istrstream is(_value.c_str());
|
||||
unsigned sz;
|
||||
unsigned i,j,sz;
|
||||
is >> sz;
|
||||
repValue.resize(sz);
|
||||
|
||||
for (unsigned i = 0; i < repValue.size(); ++i)
|
||||
for (i = 0; i < repValue.size(); ++i)
|
||||
{
|
||||
unsigned sz2;
|
||||
is >> sz2;
|
||||
repValue[i].resize(sz2);
|
||||
for (unsigned j = 0; j < sz2; ++j)
|
||||
for (j = 0; j < sz2; ++j)
|
||||
{
|
||||
is >> repValue[i][j];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue