Skip to content

Teko: Fixes in two utilities functions

James Willenbring requested to merge teko-utilities-fixes into develop

Created by: egphill

@trilinos/

Description

Fixes to two Teko utilities functions:

  • explicitMultiply with destination argument now writes to destOp for blocked linear ops
  • modifiable blockedOp explicitAdd now returns a nonconst linear op

Motivation and Context

These functions were slightly wrong and use in EMPIRE exposed this.

How Has This Been Tested?

All existing tests still pass. The functions work as expected now in EMPIRE.

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