[flang-commits] [PATCH] D124303: [flang][runtime] Fix total MAXLOC/MINLOC for non-integer data

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Apr 25 12:42:30 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2c272a4e8f9d: [flang][runtime] Fix total MAXLOC/MINLOC for non-integer data (authored by klausler).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124303/new/

https://reviews.llvm.org/D124303

Files:
  flang/runtime/extrema.cpp


Index: flang/runtime/extrema.cpp
===================================================================
--- flang/runtime/extrema.cpp
+++ flang/runtime/extrema.cpp
@@ -132,7 +132,7 @@
     void operator()(const char *intrinsic, Descriptor &result,
         const Descriptor &x, int kind, const char *source, int line,
         const Descriptor *mask, bool back) const {
-      DoMaxOrMinLoc<TypeCategory::Integer, KIND, IS_MAX, NumericCompare>(
+      DoMaxOrMinLoc<CAT, KIND, IS_MAX, NumericCompare>(
           intrinsic, result, x, kind, source, line, mask, back);
     }
   };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124303.425000.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220425/0df8f2f6/attachment.bin>


More information about the flang-commits mailing list