Skip to content

Commit

Permalink
Fix size
Browse files Browse the repository at this point in the history
  • Loading branch information
oberbichler authored May 29, 2020
1 parent acb2421 commit 162b996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hyperjet/detail/jet.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class Jet {

auto forward(const std::vector<Jet<TScalar, Dynamic>>& xs) const
{
const index size = xs[0].size();
const index size = length(xs);

auto result = Jet<TScalar, Dynamic>::zero(size);

Expand Down

0 comments on commit 162b996

Please sign in to comment.