Skip to content

Commit

Permalink
Add tracing_lambdas attribute to benchmark class
Browse files Browse the repository at this point in the history
  • Loading branch information
light2802 committed Aug 10, 2023
1 parent f2159da commit 4b14b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
on:
push:
branches:
- "*"
- main
pull_request_target:
branches:
- "*"
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/run_stardis.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import os
import numpy as np
from stardis.base import run_stardis

from astropy import units as u

from tardis.io.atom_data import AtomData
Expand Down Expand Up @@ -58,6 +57,7 @@ def setup(self):
self.stellar_model = stellar_model
self.alphas = alphas
self.tracing_nus = tracing_nus
self.tracing_lambdas = tracing_lambdas
self.config = config

def time_run_stardis(self):
Expand All @@ -77,4 +77,4 @@ def time_calc_alpha(self):
self.stellar_model,
self.tracing_nus,
self.config.opacity.line,
)
)

0 comments on commit 4b14b3a

Please sign in to comment.