Skip to content

Commit

Permalink
Rollback change to typings because the server is using Python 10
Browse files Browse the repository at this point in the history
  • Loading branch information
SouzaEM committed Oct 8, 2024
1 parent 74c6572 commit e6e652b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyro/solvers/elastic_wave/isotropic_wave.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

from firedrake import (Constant, curl, DirichletBC, div, Function,
FunctionSpace, project, VectorFunctionSpace)
from typing import override

from .elastic_wave import ElasticWave
from .forms import (isotropic_elastic_without_pml,
isotropic_elastic_with_pml)
from ...domains.space import FE_method
from ...utils.typing import override

class IsotropicWave(ElasticWave):
'''Isotropic elastic wave propagator'''
Expand Down Expand Up @@ -84,8 +84,8 @@ def get_value(key, default=None):
f" Lame second : {bool(self.mu)}\n"\
f" P-wave velocity: {bool(self.c)}\n"\
f" S-wave velocity: {bool(self.c_s)}\n"\
"The valid options are \{Density, Lame first, Lame second\} "\
"or (exclusive) \{Density, P-wave velocity, S-wave velocity\}")
"The valid options are {Density, Lame first, Lame second} "\
"or (exclusive) {Density, P-wave velocity, S-wave velocity}")

@override
def initialize_model_parameters_from_file(self, synthetic_data_dict):
Expand Down

0 comments on commit e6e652b

Please sign in to comment.