yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #09840
bool MatchMaker
Hi guys
it seems that MatchMakers are working with Real only. I tried something like
this:
O.engines=[
...
[Law2_ScGeom_MindlinPhys_Mindlin(includeMoment=MatchMaker(matches=((mat1,mat1,True),
(mat1,mat2,False))))]
...
]
which gives the following error:
TypeError: No registered converter was able to produce a C++ rvalue of type
bool from this Python object of type MatchMaker
When looking into the code it is obvious because the whole class is defined for
Real only. Is there a workaround for Booleans? If not, any idea how to
implement it?
Thanks
Klaus
Follow ups