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
52 changes: 0 additions & 52 deletions .github/workflows/CI.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:
jobs:
format-check:
name: "Format Check"
uses: "SciML/.github/.github/workflows/format-check.yml@v1"
uses: "SciML/.github/.github/workflows/format-suggestions-on-pr.yml@v1"
35 changes: 35 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Tests"

on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}

jobs:
tests:
name: "Tests"
strategy:
fail-fast: false
matrix:
group:
- Core
- DataDrivenDMD
- DataDrivenSR
- DataDrivenSparse
- DataDrivenLux
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
coverage-directories: "src, lib/DataDrivenDMD/src, lib/DataDrivenSparse/src, lib/DataDrivenSR/src, lib/DataDrivenLux/src"
secrets: "inherit"
4 changes: 2 additions & 2 deletions src/problem/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ function Base.getindex(p::AbstractDataDrivenProblem, i = :, j = :)
end

function (b::Basis{<:Any, <:Any})(p::AbstractDataDrivenProblem{<:Any, <:Any, <:Any})
@unpack f = b
f = getfield(b, :f)
_apply_vec_function(f, get_implicit_data(p), get_oop_args(p)...)
end

function (b::Basis{<:Any, <:Any})(res::AbstractMatrix,
p::AbstractDataDrivenProblem{<:Any, <:Any, <:Any})
@unpack f = b
f = getfield(b, :f)
_apply_vec_function!(f, res, get_implicit_data(p), get_oop_args(p)...)
end

Expand Down
Loading