gem/oq-engine — pull request #799 by gvallarelli (2012-06-29 08:34:24+00:00)
Title: updated _sample_based function, added tests

Addresses: https://bugs.launchpad.net/openquake/+bug/1018369