Skip to content

More boundary conditions for quadratic B-splines #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Dec 30, 2014
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
Tomas Lycken committed Dec 29, 2014
commit ebf038d85d85ffe310ba4179fb4f0fda73cffe38
6 changes: 0 additions & 6 deletions src/quadratic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ function bc_gen(q::Quadratic, N)
@nexprs $N d->(ix_d = clamp(round(Integer, x_d), 1, size(itp,d)) + pad)
end
end
function bc_gen(q::Quadratic{Periodic,OnGrid}, N)
quote
pad = padding($q)
@nexprs $N d->(ix_d = clamp(@compat(round(Integer,x_d)), 1, size(itp,d)) + pad)
end
end

function indices(q::Quadratic, N)
quote
Expand Down