Skip to content

StaticArrays 0.5.0

Compare
Choose a tag to compare
@c42f c42f released this 25 Apr 09:58
· 982 commits to master since this release

This is a julia-0.6- only release.

This is a breaking release because the type parameters to StaticArray, StaticVector, StaticMatrix, SArray and MArray changed (though not SVector, SMatrix, MVector, or MMatrix) - you will need to update your code if you name any of these types explicitly.

Breaking changes

  • Unify types so that SVector and SMatrix are aliases for 1D and 2D
    SArray. To make this work, the SArray size parameter must now be passed
    as a Tuple type rather than tuple instance (#127).

  • Add size information to the base StaticArray type and type aliases, so
    that, for example, StaticMatrix{2,2,T} can be used for directly
    dispatching on 2x2 matrices, without messing with the Size trait (#134)

Feature additions and fixes

  • Fixes for additional fancy linear indexing (#128)
  • Return SVector from some mixed static/abstract array operations (#131, #140)
  • Bring back StaticArrays.FixedSizeArrays for julia-0.6 (#138)

Bug fixes

  • Indexing with zero sized arrays (#124)
  • Type inference workaround for index_sizes (#139)
  • Fix concatenation of arrays of FieldVector (#146)
  • Fix for fancy indexing with a single SMatrix (#148)