Commit a4df3012 authored by Ken Martin's avatar Ken Martin Committed by Kitware Robot
Browse files

Merge topic 'address_gcc_warning_youndsmat'


 address a gcc warning related to youngsmaterialinterface
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !4486
parents 23ec83e4 893c4f33
......@@ -2565,7 +2565,9 @@ namespace vtkYoungsMaterialInterfaceCellCutInternals
ALLOC_LOCAL_ARRAY( derivatives, REAL2, nv-1 );
// only need nv-1 derivs but allocate nv as gcc freaks out
// with nv-1 as an argument
ALLOC_LOCAL_ARRAY( derivatives, REAL2, nv );
ALLOC_LOCAL_ARRAY( index, unsigned char, nv );
ALLOC_LOCAL_ARRAY( rindex, unsigned char, nv );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment