[vtk-developers] TemporalArrayOperator

Joachim Pouderoux joachim.pouderoux at kitware.com
Sun Mar 26 16:28:09 EDT 2017


Thanks for reporting this Ken.
https://gitlab.kitware.com/vtk/vtk/merge_requests/2628

Best,
Joachim

*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS <http://www.kitware.fr>*


2017-03-25 14:28 GMT-04:00 Ken Martin <ken.martin at kitware.com>:

> Looks like a small typo
>
> vtkTemporalArrayOperatorFilter.cxx: 267 in vtkTemporalArrayOperatorFilter
> ::ProcessDataObject(vtkDataObject *, vtkDataObject *)()
> 261     //----------------------------------------------------------
> --------------------
> 262     vtkDataObject* vtkTemporalArrayOperatorFilter::ProcessDataObject(
> 263       vtkDataObject* inputData0, vtkDataObject* inputData1)
> 264     {
> 265       vtkDataArray* inputArray0 = this->GetInputArrayToProcess(0,
> inputData0);
> 266       vtkDataArray* inputArray1 = this->GetInputArrayToProcess(0,
> inputData1);
> >>>     CID 1372958:  Incorrect expression  (CONSTANT_EXPRESSION_RESULT)
> >>>     The expression "!inputArray1 || !inputArray1" does not accomplish
> anything because it evaluates to either of its identical operands,
> "!inputArray1".
> 267       if (!inputArray1 || !inputArray1)
> 268       {
> 269         vtkErrorMacro(<< "Unable to retrieve data arrays to process.");
> 270         return NULL;
> 271       }
> 272
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170326/09f01379/attachment.html>


More information about the vtk-developers mailing list