From 162b9961759ad056c8fff61a9ead67a04439002a Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 29 May 2020 08:27:48 +0200 Subject: [PATCH] Fix size --- include/hyperjet/detail/jet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hyperjet/detail/jet.h b/include/hyperjet/detail/jet.h index bd9c8f6..a33213f 100644 --- a/include/hyperjet/detail/jet.h +++ b/include/hyperjet/detail/jet.h @@ -214,7 +214,7 @@ class Jet { auto forward(const std::vector>& xs) const { - const index size = xs[0].size(); + const index size = length(xs); auto result = Jet::zero(size);