On 06/06/12 14:06, Nicholas Firth wrote:
Well I'm not quite sure what the issue is to be honest (also not very
sure if this fix will even work, so thought it best to ask).
The work round is:
ROMol *tempMol= static_cast<ROMol *>(new RWMol(mol));
tempMol = MolOps::addHs(*tempMol);
mol = static_cast<RWMol>(*tempMol);
I don't think it's a matter of libraries. Given mol is ROMol,
ROMol *mol_with_Hs = MolOps::addHs(mol);
ROMol returnable_mol(*mol_with_Hs);
return returnable_mol;
Paul.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss