Skip to content

Commit

Permalink
removed warnings in LAR.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
apaoluzzi committed Oct 21, 2016
1 parent 52ba9d1 commit 81a2600
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
*.ipynb
deps/deps.jl
.DS_Store
13 changes: 0 additions & 13 deletions src/LAR.jl
Expand Up @@ -247,13 +247,6 @@ function view(V::Array{Any,2}, EV::Array{Any,1})
p.VIEW(p.MKPOL([a,b,1]))
end

# visualize an HPC value from a Julia pair (Verts,Cells)
function lar2hpc(V::Array{Float64,2}, EV::Array{Any,1})
a,b = PyObject(V'), PyObject(EV)
verts = PyObject(a[:tolist]())
cells = b
p.MKPOL([verts,cells,1])
end

# visualize an HPC value from a Julia pair (Verts,Cells)
function view(V::Array{Float64,2}, EV::Array{Any,1})
Expand Down Expand Up @@ -361,17 +354,11 @@ end
function translate( t, V )
broadcast(+,t,V)
end
function translate( V, t )
broadcast(+,t,V)
end

# scale the columns of `V` matrix by product times `s` vector
function scale( s, V )
broadcast(*,s,V)
end
function scale( V, s )
broadcast(*,V,s)
end

# rotate the columns of `V` matrix by properly using the `args` parameters
function rotate(args,V)
Expand Down

0 comments on commit 81a2600

Please sign in to comment.