Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #233

Closed
Open
Created Jul 08, 2018 by frey_m@frey_mMaintainer

Optimiser: Parsing of expressions

I added the new function infNormRadialPeak. However, it's not recognized. It crashes with Parsing failed!. I do not see a difference to other expressions.

According to line 180 it checks

if (success && iter != end) {
    std::cout << "Parsing failed!" << std::endl;
    throw new OptPilotException("Expression::parse()",
                                "Parsing failed!");
}

I think it should be !success and ìter == end instead. A first test confirms my proposal, i.e. it still works with e.g. sumErrSqRadialPeak but now also with infNormRadialPeak.

Edited Jul 08, 2018 by frey_m
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking