Skip to content
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

Test integrand allocations in timeevolution #399

Open
amilsted opened this issue Jun 15, 2024 · 0 comments
Open

Test integrand allocations in timeevolution #399

amilsted opened this issue Jun 15, 2024 · 0 comments

Comments

@amilsted
Copy link
Collaborator

Let's add some tests with @allocated.

allocated(f::F) where {F} = @allocated f()
somefunc() = something_with_a_solver...
@test allocated(somefunc) < some_small_number

like done here https://github.com/QuantumSavory/QuantumClifford.jl/blob/c1d115d3ee8a929279b724df1cc63fd00a9b255a/test/test_allocations.jl#L6

Originally posted by @Krastanov in #396 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant