gem/oq-engine — pull request #840 by larsbutler (2012-08-21 11:45:50+00:00)
Title: GMF correlation fixes

Ground motion correlation matrices are now only computed once per task.

(Before, they were being computed inside of a loop; this is unnecessary.)

Also, I fixed a more serious issue:
I was calling the wrong method in the ground motion correlation model. I was calling `get_correlation_matrix`; this has been corrected to `get_lower_triangle_correlation_matrix`.

I have discussed these changes with Dr. Monelli. The previous implementation was incorrect.