Skip to content

Intrepid2: replace deep_copy with clone in FunctionSpaceTools

James Willenbring requested to merge mperego:develop into develop

Created by: mperego

deep_copy cannot handle the case where the input and output views have different types like double and FAD. Replacing deep_copy with clone in function HGRADtransformVALUE. This should fix a runtime bug in Albany.

@trilinos/intrepid2

Description

Motivation and Context

How Has This Been Tested?

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the code contribution guidelines for this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

Merge request reports