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

Add error message in IsIndecomposable for non-involutive solutions #103

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

Conversation

ilafly
Copy link
Contributor

@ilafly ilafly commented Oct 1, 2024

This PR adds a specific error message in the IsIndecomposable function when invoked with a non-involutive solution. Previously, the function triggered a generic error: Error, Method for a property did not return true or false.

ilafly added 2 commits October 1, 2024 17:47
This change adds an error message in the `IsIndecomposable` function when invoked with a non-involutive solution. It addresses the issue where the function previously triggered the generic error: `Error, Method for a property did not return true or false`.
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.58%. Comparing base (187a9a5) to head (00f1897).

Files with missing lines Patch % Lines
lib/ybe.gi 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   99.58%   99.58%           
=======================================
  Files         110      110           
  Lines      106700   106700           
=======================================
  Hits       106261   106261           
  Misses        439      439           
Files with missing lines Coverage Δ
lib/ybe.gi 64.46% <0.00%> (ø)

@@ -774,7 +774,7 @@ InstallMethod(IsIndecomposable,
[ IsYB ],
function(obj)
if not IsInvolutive(obj) then
return fail;
Error("the solutions of the YBE is not involutive");
Copy link
Member

Choose a reason for hiding this comment

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

Thank you @ilafly! Although, this text mixes plural and singular: "solutions ... is"

Copy link
Member

Choose a reason for hiding this comment

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

It might be also nice to construct a test for this example - the CI complains that this is not covered by tests.

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.

2 participants