Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[EDF27988] : Implementation of MEDCouplingUMesh.explodeMeshTo for MEDFileUMesh.reduce...
[tools/medcoupling.git]
/
src
/
MEDCoupling
/
MEDCouplingDefinitionTime.cxx
diff --git
a/src/MEDCoupling/MEDCouplingDefinitionTime.cxx
b/src/MEDCoupling/MEDCouplingDefinitionTime.cxx
index 23d4204b42ca0cfdff06979c5daea73e13fe833a..1a490f65647447c60a8fa15dd58a42b82a391431 100644
(file)
--- a/
src/MEDCoupling/MEDCouplingDefinitionTime.cxx
+++ b/
src/MEDCoupling/MEDCouplingDefinitionTime.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19 CEA/DEN, EDF R&D
+// Copyright (C) 2007-20
23 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-446,11
+446,11
@@
MEDCouplingDefinitionTime::MEDCouplingDefinitionTime(const std::vector<const MED
if(sz!=arrRefs.size())
throw INTERP_KERNEL::Exception("MEDCouplingDefinitionTime constructor : internal error ! should never happen !");
_slices.resize(sz);
if(sz!=arrRefs.size())
throw INTERP_KERNEL::Exception("MEDCouplingDefinitionTime constructor : internal error ! should never happen !");
_slices.resize(sz);
- for(
std::size_t i=0;i<sz
;i++)
+ for(
int i=0;i<ToIdType(sz)
;i++)
{
if(arrRefs.empty())
throw INTERP_KERNEL::Exception("MEDCouplingDefinitionTime constructor : A field is null in list impossible to build a time definition !");
{
if(arrRefs.empty())
throw INTERP_KERNEL::Exception("MEDCouplingDefinitionTime constructor : A field is null in list impossible to build a time definition !");
- _slices[i]=MEDCouplingDefinitionTimeSlice::New(fs[i],meshRefs[i],arrRefs[i],
(int)
i);
+ _slices[i]=MEDCouplingDefinitionTimeSlice::New(fs[i],meshRefs[i],arrRefs[i],i);
}
if(sz<=1)
return ;
}
if(sz<=1)
return ;