Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(combinator): displayExpression with prefix notation #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

floork
Copy link

@floork floork commented Nov 8, 2024

shows the displayExpression in prefix notation

fixes: #4

@bmario
Copy link
Member

bmario commented Jan 24, 2025

Please rebase, so the CI can run.

@floork floork force-pushed the displayExpression branch from 2150da0 to a02a981 Compare January 27, 2025 07:13
src/combinator.cpp Outdated Show resolved Hide resolved
tests/test_display_expression.cpp Outdated Show resolved Hide resolved
@floork floork force-pushed the displayExpression branch from 2c47091 to 5fab0d1 Compare January 27, 2025 14:38
}
catch (std::runtime_error&)
{
Log::error("Failed to create the Display Expression");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add context to the error message.

  • what is the affected metric?
  • what is the error message of the runtime error?

{
metric.metadata["displayExpression"] = displayExpression(combined_expression);
}
catch (std::runtime_error&)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
catch (std::runtime_error&)
catch (const std::runtime_error&)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename display_expression to displayExpression
2 participants