Mercurial > octave
diff libinterp/corefcn/max.cc @ 20946:6eff66fb8a02
style fixes for comments
* find-dialog.cc, find-dialog.h, display.cc, error.cc, gl-render.cc,
graphics.cc, graphics.in.h, max.cc, oct-handle.h, oct-obj.h,
oct-stream.cc, oct.h, pr-output.cc, profiler.cc, str2double.cc,
symtab.cc, toplev.cc, toplev.h, xgl2ps.c, zfstream.cc, zfstream.h,
__glpk__.cc, audiodevinfo.cc, colamd.cc, symbfact.cc, ov-classdef.cc,
ov-classdef.h, ov-java.cc, op-int.h, pt-pr-code.cc, pt-walk.h:
Use C++-style comments where possible.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Dec 2015 22:39:36 -0500 |
parents | 48b2ad5ee801 |
children | e39e05d90788 |
line wrap: on
line diff
--- a/libinterp/corefcn/max.cc Fri Dec 18 22:06:22 2015 -0500 +++ b/libinterp/corefcn/max.cc Fri Dec 18 22:39:36 2015 -0500 @@ -343,11 +343,9 @@ builtin_type_t rtyp; if (xtyp == btyp_char && ytyp == btyp_char) rtyp = btyp_char; - /* - FIXME: This is what should happen when boolNDArray has max() - else if (xtyp == btyp_bool && ytyp == btyp_bool) - rtyp = btyp_bool; - */ + // FIXME: This is what should happen when boolNDArray has max() + // else if (xtyp == btyp_bool && ytyp == btyp_bool) + // rtyp = btyp_bool; else rtyp = btyp_mixed_numeric (xtyp, ytyp); @@ -404,12 +402,11 @@ #undef MAKE_INT_BRANCH - /* - FIXME: This is what should happen when boolNDArray has max() - case btyp_bool: - retval = do_minmax_bin_op<boolNDArray> (argx, argy, ismin); - break; - */ + // FIXME: This is what should happen when boolNDArray has max() + // case btyp_bool: + // retval = do_minmax_bin_op<boolNDArray> (argx, argy, ismin); + // break; + default: error ("%s: cannot compute %s (%s, %s)", func, func, argx.type_name ().c_str (), argy.type_name ().c_str ());