Skip to content

Commit

Permalink
Update src/datasets/injectivedata.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Fergus Baker <[email protected]>
  • Loading branch information
phajy and fjebaker authored Nov 23, 2023
1 parent ef6bd66 commit c58533d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasets/injectivedata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function make_model_domain(::ContiguouslyBinned, dataset::InjectiveData)
push!(domain, domain[end] + Δ)
domain
end
make_objective(::ContiguouslyBinned, dataset::InjectiveData) = dataset.codomain[data_mask]
make_objective(::ContiguouslyBinned, dataset::InjectiveData) = dataset.codomain[dataset.data_mask]

make_model_domain(::OneToOne, dataset::InjectiveData) = dataset.domain[data_mask]
make_objective(::OneToOne, dataset::InjectiveData) = dataset.codomain[data_mask]
Expand Down

0 comments on commit c58533d

Please sign in to comment.