Skip to content

Correction to ztmp allocation

Ilke Albar requested to merge fix_segfault_maxwell into develop

Description

The array to be allocated during get_rs_state_at_point was incorrect. This caused a segmentation fault in Maxwell calculations. Array was fixed, and the array size was specified for SAFE_ALLOCATE macro to operate properly.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.
Edited by Ilke Albar

Merge request reports