You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I tried to label this as bug, but can't figure out how...)
I found the following when toying around with modular arithmetic.
I get a segmentation fault with the following incorrect code. (I did realize after a while that the inner constructor is written without the type parameter.)
type Test{p} <: Number
value::Array{Int64,1}
Test{p}(x::Array) = new(mod(x,p))
end
julia> load("test_inner.jl")
With a type parameter, I get an error message, ok
julia> a=Test{Int}([5])
no method Test(Array{Int64,1},)
in method_missing at base.jl:70
With an integer parameter -> crash
julia> a=Test{5}([5])
Segmentation fault
Julia version:
Version 0.0.0+93974770.rfeba
Commit febaf62 (2012-08-14 22:45:16)
Juha
The text was updated successfully, but these errors were encountered:
)
Stdlib: LinearAlgebra
URL: https://github.com/JuliaLang/LinearAlgebra.jl.git
Stdlib branch: master
Julia branch: master
Old commit: e7da19f
New commit: f781708
Julia version: 1.13.0-DEV
LinearAlgebra version: 1.12.0(Does not match)
Bump invoked by: @KristofferC
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)
Diff:
JuliaLang/LinearAlgebra.jl@e7da19f...f781708
```
$ git log --oneline e7da19f..f781708
f781708 use the custom sysimage when running documentation (and doctests) as well (#1226)
8fdbfd5 Add `getindex` for `SymTridiagonal` using a `BandIndex` (#1223)
91b8845 Use `BandIndex` directly in `diagzero` call in `getindex` (#1222)
ef7ef3a Restrict triangular type aliases to `AbstractMatrix`es (#1220)
af7a9ac Use `BandIndex` directly in `diagzero` call in `getindex` for banded matrices
579b5f7 Specialize Diagonal * Adjoint (#1207)
5cf41c4 Indirection in matrix multiplication to avoid ambiguities (#1210)
0a9c164 Remove specialized `issymmetric`/`ishermitian` for `Diagonal{<:Number}` (#1213)
ff5648a Make unitary matrices in `svd`/`eigen` of `Diagonal` be unitless (#1155)
e096a03 Don't mutate arrays in symmetric trig functions (#1206)
c234bed Loop over `diagind` in `diag` for banded matrices (#1211)
57785c7 More resizing for truncating return values from LAPACK (#1190)
b464203 Materialize adjoint in mul with `HermOrSym` (#1191)
16d9d61 Restrict Diagonal sqrt branch to positive diag (#1203)
baa48b7 Verbose `showerror` for `SingularException` (#1204)
e0b59a7 Remove `LinearAlgebra` qualifications in `cholesky.jl` (#1209)
95d009b Remove `LinearAlgebra` qualifications in `cholesky.jl`
c550974 change to pivot
ed35a37 Add fast path in generic matmul (#1202)
8c7fe68 Detailed `showerror` for `SingularException`
2a1696a Explicitly declare type constructor imports (#1196)
101f766 Added note to BLAS.[g|s]et_num_threads about Apple Accelerate not supporting it (#1195)
5aca26f Simplify `getproperty` for `Cholesky*` (#1197)
924dda4 remove copy-allocation on accessing `cholesky` factors (`.L`, `.U`) (#1186)
6f02532 Use `BLAS.trsm!` instead of `LAPACK.trtrs!` in left-triangular solves (#1194)
```
Co-authored-by: KristofferC <[email protected]>
(I tried to label this as bug, but can't figure out how...)
I found the following when toying around with modular arithmetic.
I get a segmentation fault with the following incorrect code. (I did realize after a while that the inner constructor is written without the type parameter.)
type Test{p} <: Number
value::Array{Int64,1}
Test{p}(x::Array) = new(mod(x,p))
end
julia> load("test_inner.jl")
With a type parameter, I get an error message, ok
julia> a=Test{Int}([5])
no method Test(Array{Int64,1},)
in method_missing at base.jl:70
With an integer parameter -> crash
julia> a=Test{5}([5])
Segmentation fault
Julia version:
Version 0.0.0+93974770.rfeba
Commit febaf62 (2012-08-14 22:45:16)
Juha
The text was updated successfully, but these errors were encountered: