We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca32a8 commit 6201163Copy full SHA for 6201163
1 file changed
src/ricci.jl
@@ -92,7 +92,7 @@ struct Mult end
92
93
struct Power <: Tensor
94
base::Value
95
- exponent::Int
+ exponent::Union{Int,Rational{Int}}
96
end
97
98
Base.hash(op::Power, h::UInt) = hash(op.exponent, hash(op.base, hash(Power, h)))
0 commit comments