Mercurial > hg > octave-nkf
comparison liboctave/boolNDArray.cc @ 13731:3b52038e6e6c
Help dumb compilers to resolve template parameters.
* boolNDArray.cc (boolNDArray::operator!): Specify second template parameter
for do_mx_unary_map_op.
* Sparse-op-defs.h (SPARSE_MSM_BIN_OP_2): Specify template parameter for
mx_inline_all_infinite.
(SPARSE_SMM_BIN_OP_2_CHECK_product): Add argument to macro and use it as
template parameter for mx_inline_all_infinite.
(SPARSE_SMM_BIN_OP_2_CHECK_quotient): Likewise for mx_inline_all_nan.
(SPARSE_SMM_BIN_OP_2): Use new argument for product and quotient macros.
* data.cc (Frem): Specify template parameter for xrem.
(Fmod): Specify template parameter for xmod.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 20 Oct 2011 12:54:40 +0100 |
parents | aa4a23337a0f |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
13730:a2c74b5c02de | 13731:3b52038e6e6c |
---|---|
38 // unary operations | 38 // unary operations |
39 | 39 |
40 boolNDArray | 40 boolNDArray |
41 boolNDArray::operator ! (void) const | 41 boolNDArray::operator ! (void) const |
42 { | 42 { |
43 return do_mx_unary_op<bool> (*this, mx_inline_not); | 43 return do_mx_unary_op<bool, bool> (*this, mx_inline_not); |
44 } | 44 } |
45 | 45 |
46 boolNDArray& | 46 boolNDArray& |
47 boolNDArray::invert (void) | 47 boolNDArray::invert (void) |
48 { | 48 { |