Skip to content

Commit

Permalink
Format code (#118)
Browse files Browse the repository at this point in the history
Co-authored-by: mofeing <[email protected]>
  • Loading branch information
github-actions[bot] and mofeing authored Nov 1, 2023
1 parent 4d8ce86 commit ad199f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ext/TenetChainRulesCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ function ChainRulesCore.rrule(T::Type{<:TensorNetwork}, tensors; metadata...)
T(tensors; metadata...), TensorNetwork_pullback
end

end
end
2 changes: 1 addition & 1 deletion ext/TenetChainRulesTestUtilsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ function ChainRulesTestUtils.rand_tangent(rng::AbstractRNG, x::TensorNetwork)
)
end

end
end
2 changes: 1 addition & 1 deletion ext/TenetFiniteDifferencesExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ function FiniteDifferences.to_vec(x::TensorNetwork{A}) where {A<:Ansatz}
return x_vec, TensorNetwork_from_vec
end

end
end

0 comments on commit ad199f7

Please sign in to comment.