-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
New Generate Modes #250
New Generate Modes #250
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #250 +/- ##
==========================================
+ Coverage 99.46% 99.46% +0.01%
==========================================
Files 4 4
Lines 730 738 +8
Branches 109 111 +2
==========================================
+ Hits 726 734 +8
Misses 2 2
Partials 2 2 ☔ View full report in Codecov by Sentry. |
elif self.generate_mode == GenerateMode.F1F2_VS_F1.value: | ||
data1_ = self.function1(point[0], point[1]).real * self.function2(point[0], point[1]).real | ||
data2_ = self.function1(point[0], point[1]).real | ||
elif self.generate_mode == GenerateMode.F1F2_VS_F2.value: | ||
data1_ = self.function1(point[0], point[1]).real * self.function2(point[0], point[1]).real | ||
data2_ = self.function2(point[0], point[1]).real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if these are food atomic modes. If we add this we should add F1_VS_F1F2
, F1_VS_F2F1
, and F1+F2_VS_F1
etc. Therefore I think that's not a good idea to add this mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it doesn't produce a beautiful mode, it is also not harmful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. I wanted this set to be atomic, or at least closed under the operations we're defining (including all cases).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, that's beautiful. I guess that's fine then.
Reference Issues/PRs
What does this implement/fix? Explain your changes.
F1F2_VS_F1
F1F2_VS_F2
Any other comments?