& and && problem
Closed this issue · 2 comments
PierreSachot commented
In some examples like NumPy, the System.out.println display sometimes & and sometimes &&
jonahgraham commented
Hi @PeterC-DLS
@PierreSachot can fix this up, but I need your comment on this please.
In the Numpy example, sometimes logicalAnd is written as & and sometimes as && in comments/sysouts. In the Comparisons.logicalAnd javadoc it is written as &&
So the question is, which is correct? Or is it more complicated.
I previously reject PR #138 on this topic.
Thanks!
Jonah
PeterC-DLS commented
No, the Javadoc pertains to matlab as noted here. So you are correct in rejecting it. Perhaps the print should clarify the January operation...
There's also a separate issue owing to Maths.bitwise*
not being supported for output boolean datasets.
Peter