Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 735
    • Issues 735
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 205
    • Merge requests 205
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #5214

Closed
Open
Created Jun 17, 2007 by Kitware Robot@kwrobotOwner

Calculator fails on multiple argument functions

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


vtkFunctionParser.cxx fails when an argument to a multiple argument function is a function (min,max,cross). For example,

min(2,ln(1)) min(ln(1),2)

error message: There was a VTK Error in file: /home/sxs/paraview/paraview-2.6.1/ParaView-2.6.1/VTK/Common/vtkFunctionParser.cxx (1404) vtkFunctionParser (0x6279b00): Syntax error: expecting a variable name; see position 9

The workaround is min(ln(1)+0,2)

But we don't want to have to explain workarounds to our customers. Also, I have developed an if(cond,trueVal,falseVal) that breaks the same way that min does, since I copy your code.

I am working on the code development team for Jim Ahrens at LANL.

Thanks, Sid

Assignee
Assign to
Time tracking