Comments (2)
It looks like you've redefined the input function q to be a Float64.
Cheers,
Mikael
On Nov 13, 2015, at 1:48 AM, Philippe Gaudreau [email protected] wrote:
I can't seem to get my code for centrosymmetry to work. When I run my code, I obtain the following error:
using DESincEig, SincFun
(RESULTS, All_Abs_Error_Approx , hoptimal , n, MatrixSizes)=SincEigen(x->x.^2+x.^4,ones,infinite2{Float64}(), [0.125,0.125] , [2.0,2.0] , pi/4,Centro=true)WARNING: [a,b] concatenation is deprecated; use [a;b] instead
in depwarn at deprecated.jl:73
in oldstyle_vcat_warning at abstractarray.jl:29
in vect at abstractarray.jl:38
in SincEigen at C:\Users\Philippe.julia\v0.4\DESincEig\src\DESincEig.jl:228
while loading no file, in expression starting on line 0
ERROR: MethodError: call has no method matching call(::Float64, ::Array{Float6
4,1})
Closest candidates are:
BoundsError()
BoundsError(::Any...)
DivideError()
...
in qtilde at C:\Users\Philippe.julia\v0.4\DESincEig\src\DESincEig.jl:158
in SincEigen at C:\Users\Philippe.julia\v0.4\DESincEig\src\DESincEig.jl:222It appears to be in the function qtilde, however, when I run my code without any centrosymmety, (Centro =false), there is no problem....
—
Reply to this email directly or view it on GitHub.
from desinceig.jl.
I used the variable q as my center element in one of the centrosymmetric matrices. Fixed the issue, by switching the name of the variable from q to qc.
from desinceig.jl.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desinceig.jl.