We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7152e23 commit a39ef12Copy full SHA for a39ef12
src/tangent.jl
@@ -84,7 +84,7 @@ abstract type AbstractTangentSpace; end
84
struct ExplicitTangent{P}
85
86
A fully explicit coordinate representation of the tangent space,
87
-represented by a vector of `2^(N-1)` partials.
+represented by a vector of `2^N-1` partials.
88
"""
89
struct ExplicitTangent{P <: Tuple} <: AbstractTangentSpace
90
partials::P
@@ -243,7 +243,7 @@ function truncate(tb::TangentBundle, order::Val)
243
end
244
245
function truncate(tb::ExplicitTangent, order::Val{N}) where {N}
246
- ExplicitTangent(tb.partials[1:2^(N-1)])
+ ExplicitTangent(tb.partials[1:2^N-1])
247
248
249
function truncate(et::ExplicitTangent, order::Val{1})
0 commit comments