Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:


steps:
- name: Install libfabric
run: sudo apt-get update && sudo apt-get install -y libfabric-bin
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libfabric-bin libhdf5-dev pkg-config

- uses: actions/checkout@v2
- name: Set up Python 3
Expand Down
4 changes: 2 additions & 2 deletions mtuq/greens_tensor/CPS.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class GreensTensor(GreensTensorBase):
"""
FK Green's tensor object
CPS Green's tensor object

Overloads base class with machinery for working with CPS-style
Green's functions
Expand All @@ -19,7 +19,7 @@ def __init__(self, *args, **kwargs):
if 'type:greens' not in self.tags:
self.tags += ['type:greens']

if 'type:velocity' not in self.tags:
if 'type:velocity' not in self.tags or 'type:displacement' not in self.tags:
self.tags += ['type:velocity']

if 'units:m' not in self.tags:
Expand Down
2 changes: 1 addition & 1 deletion mtuq/greens_tensor/FK.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, *args, **kwargs):
if 'type:greens' not in self.tags:
self.tags += ['type:greens']

if 'type:velocity' not in self.tags:
if 'type:velocity' not in self.tags or 'type:displacement' not in self.tags:
self.tags += ['type:velocity']

if 'units:m' not in self.tags:
Expand Down