Skip to content

Clean up code for sparsity, permutations, etc#162

Merged
tommyod merged 4 commits into
equinor:mainfrom
tommyod:precest-cleanup2
May 28, 2026
Merged

Clean up code for sparsity, permutations, etc#162
tommyod merged 4 commits into
equinor:mainfrom
tommyod:precest-cleanup2

Conversation

@tommyod
Copy link
Copy Markdown
Collaborator

@tommyod tommyod commented May 28, 2026

The current code is quite cryptic, at least to me. It has no docstring nor explanation, and returns a tuple Graph_C, perm_compose, P_rev, P_order which I found difficult to understand.

This is my attempt to clean it up a bit. Hopefully it is better - but someone else should be the judge of that.

@tommyod tommyod requested a review from dafeda May 28, 2026 07:30
Comment thread graphite_maps/precision_estimation.py Outdated
Comment thread graphite_maps/precision_estimation.py Outdated
tommyod and others added 2 commits May 28, 2026 09:57
Co-authored-by: Feda Curic <feda.curic@gmail.com>
Co-authored-by: Feda Curic <feda.curic@gmail.com>
@tommyod tommyod merged commit b20c7a1 into equinor:main May 28, 2026
20 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.

2 participants