Oh that makes sense - I just need to use the first element's address. Thank you!

On 8/10/20 6:00 PM, Jed Brown wrote:
Nidish <[email protected]> writes:

Urgh I must've been blind - flycheck was throwing warnings only if I
didn't cast elstiff[][] into const PetscScalar* .
You don't have to cast there either, just pass &elstiff[0][0], for example.
--
Nidish

Reply via email to