Skip to content

Conversation

@hongyi-zhao
Copy link
Contributor

@hongyi-zhao hongyi-zhao commented Jun 7, 2025

  • Add support for complex tensor structures in ElasticTensorDocument
  • Implement recursive _safe_voigt_to_list() function
  • Fix the 'tolist' error when using order=3 for elastic tensor calculations
  • Maintain backward compatibility for order=2 tensors

Fix the issue reported here: #1212

hongyi-zhao and others added 5 commits June 7, 2025 10:20
- Add support for complex tensor structures in ElasticTensorDocument
- Implement recursive _safe_voigt_to_list() function
- Enable order=3 elastic tensor calculations
- Maintain backward compatibility for order=2 tensors

Resolves issue with 'list' object has no attribute 'tolist' error
@esoteric-ephemera esoteric-ephemera enabled auto-merge (squash) August 15, 2025 16:44
@esoteric-ephemera
Copy link
Collaborator

Thanks @hongyi-zhao!

@esoteric-ephemera esoteric-ephemera merged commit 12ceeb1 into materialsproject:main Aug 15, 2025
21 checks passed
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.

BUG: atomate2 failed to compute the 3rd-order elastic tensor.

2 participants