Skip to content

Conversation

@isuruf
Copy link
Collaborator

@isuruf isuruf commented Oct 8, 2023

No description provided.

Comment on lines +335 to +340
m2l_translation = self.tgt_expansion.m2l_translation
if m2l_translation.use_preprocessing:
ncoeff_src = m2l_translation.preprocess_multipole_nexprs(
self.tgt_expansion, self.src_expansion)
else:
ncoeff_src = len(self.src_expansion)
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe ncoeff_src should be renamed to clarify that we're talking about "padded" coeffiicents. (Though I'm not sure "padded" is a good adjective.)

Comment on lines +335 to +340
m2l_translation = self.tgt_expansion.m2l_translation
if m2l_translation.use_preprocessing:
ncoeff_src = m2l_translation.preprocess_multipole_nexprs(
self.tgt_expansion, self.src_expansion)
else:
ncoeff_src = len(self.src_expansion)
Copy link
Owner

Choose a reason for hiding this comment

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

You mentioned an additional untested code path here.

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