Skip to content

Changes

Summary

  1. Simplify Scalarize.scalarizeVariable (#12659) (details)
Commit 1d25ec721b5ae21a1837a41c6d862c3c102acf55 by noreply
Simplify Scalarize.scalarizeVariable (#12659)

- Merge binding and non-binding paths, it's not worth all the duplicated
  code just to avoid a single bool flag check in the for-loop.
- Remove the condition that only arrays of size > 1 are scalarized due
  to backend issues, it doesn't seem to be necessary anymore.
The file was modified OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo (diff)