Skip to content

Rm findiff#372

Open
benoitlaurent96 wants to merge 3 commits into
mainfrom
rmFindiff
Open

Rm findiff#372
benoitlaurent96 wants to merge 3 commits into
mainfrom
rmFindiff

Conversation

@benoitlaurent96

Copy link
Copy Markdown
Collaborator

Removed all dependencies on findiff. Added the function finiteDiffMatrix in helpers.py to compute the finite difference matrix that findiff was previously computing. boltzmann.py now uses this new function instead of findiff.

@joonashir

Copy link
Copy Markdown
Collaborator

The code crashes on line 720 when running the singletStandardModel_Z2 example:

This is due to derivMatrixChi.toarray() because of AttributeError: 'numpy.ndarray' object has no attribute 'toarray'.

@joonashir

Copy link
Copy Markdown
Collaborator

After removing the .toarray() calls, the example works identically to the main branch.

@joonashir joonashir requested a review from pschicho June 23, 2026 13:29
@og113 og113 mentioned this pull request Jun 23, 2026
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