We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afca48 commit cc47b18Copy full SHA for cc47b18
Sources/Filters/General/Calculator/index.js
@@ -47,7 +47,7 @@ function vtkCalculator(publicAPI, model) {
47
) => ({
48
getArrays: (inData) => ({
49
// don't augment input data array in case of structured input dataset
50
- input: inData[0].isA('vtkImageData')
+ input: inData[0]?.isA('vtkImageData')
51
? arrNames.map((x) => ({ location: locn, name: x }))
52
: publicAPI.augmentInputArrays(
53
locn,
0 commit comments