Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2a831
)
Bug fix MEDCouplingRemapper::reverseTransfer()
author
abn
<adrien.bruneton@cea.fr>
Wed, 8 Jun 2022 12:03:05 +0000
(14:03 +0200)
committer
abn
<adrien.bruneton@cea.fr>
Wed, 8 Jun 2022 12:04:44 +0000
(14:04 +0200)
src/MEDCoupling/MEDCouplingRemapper.cxx
patch
|
blob
|
history
diff --git
a/src/MEDCoupling/MEDCouplingRemapper.cxx
b/src/MEDCoupling/MEDCouplingRemapper.cxx
index b95912309f32e1dba78310ff768f2e3e1f9c8c0d..8f620ffe644cc7b2fc441c37e9c09ec2d66d6b19 100755
(executable)
--- a/
src/MEDCoupling/MEDCouplingRemapper.cxx
+++ b/
src/MEDCoupling/MEDCouplingRemapper.cxx
@@
-249,7
+249,7
@@
void MEDCouplingRemapper::reverseTransfer(MEDCouplingFieldDouble *srcField, cons
if(array)
{
srcField->checkConsistencyLight();
- if(
ToIdType(trgNbOfCompo)!=srcField->getNumberOfTuplesExpected
())
+ if(
trgNbOfCompo != srcField->getNumberOfComponents
())
throw INTERP_KERNEL::Exception("Number of components mismatch !");
}
else