Skip to content

Commit

Permalink
In tests, get StatsBase dependency from moment_kinetics package
Browse files Browse the repository at this point in the history
Avoids need to install StatsBase directly in base environment.
  • Loading branch information
johnomotani committed Jan 10, 2025
1 parent eac094f commit fc6b9e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions moment_kinetics/src/moment_kinetics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module moment_kinetics
export run_moment_kinetics

using MPI
using StatsBase

# Include submodules from other source files
# Note that order of includes matters - things used in one module must already
Expand Down
2 changes: 1 addition & 1 deletion moment_kinetics/test/jacobian_matrix_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using moment_kinetics.moment_constraints: electron_implicit_constraint_forcing!,
using moment_kinetics.type_definitions: mk_float
using moment_kinetics.velocity_moments: calculate_electron_moment_derivatives_no_r!

using StatsBase
using moment_kinetics.StatsBase

# Small parameter used to create perturbations to test Jacobian against
epsilon = 1.0e-6
Expand Down

0 comments on commit fc6b9e2

Please sign in to comment.