* thread #1: tid = 0x8b1e1, 0x000000010e4b3432 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::evaluateProductBlockingSizesHeuristic >, Eigen::AutoDiffScalar >, 1>(k=0x00007fff5174d260, m=0x00007fff5174d250, n=0x00007fff5174d258, num_threads=) + 450 at GeneralBlockPanelKernel.h:188, queue = 'com.apple.main-thread', stop reason = EXC_ARITHMETIC (code=EXC_I386_DIV, subcode=0x0) * frame #0: 0x000000010e4b3432 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::evaluateProductBlockingSizesHeuristic >, Eigen::AutoDiffScalar >, 1>(k=0x00007fff5174d260, m=0x00007fff5174d250, n=0x00007fff5174d258, num_threads=) + 450 at GeneralBlockPanelKernel.h:188 frame #1: 0x000000010e4b24a7 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::generic_product_impl >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo >, 3, -1, 0, 3, -1> >(Eigen::Matrix >, 3, -1, 0, 3, -1>&, Eigen::Matrix >, 3, 3, 0, 3, 3> const&, Eigen::Matrix >, 3, -1, 0, 3, -1> const&, Eigen::AutoDiffScalar > const&) [inlined] void Eigen::internal::computeProductBlockingSizes >, Eigen::AutoDiffScalar >, 1>(k=, m=, n=, num_threads=Eigen::Index at scalar) + 5 at GeneralBlockPanelKernel.h:303 frame #2: 0x000000010e4b24a2 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::generic_product_impl >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo >, 3, -1, 0, 3, -1> >(Eigen::Matrix >, 3, -1, 0, 3, -1>&, Eigen::Matrix >, 3, 3, 0, 3, 3> const&, Eigen::Matrix >, 3, -1, 0, 3, -1> const&, Eigen::AutoDiffScalar > const&) [inlined] Eigen::internal::gemm_blocking_space<0, Eigen::AutoDiffScalar >, Eigen::AutoDiffScalar >, 3, -1, 3, 1, false>::gemm_blocking_space(rows=Eigen::Index at scalar, cols=, depth=Eigen::Index at scalar, num_threads=Eigen::Index at scalar, l3_blocking=bool at scalar) + 73 at GeneralMatrixMatrix.h:354 frame #3: 0x000000010e4b2459 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::generic_product_impl >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo >, 3, -1, 0, 3, -1> >(Eigen::Matrix >, 3, -1, 0, 3, -1>&, Eigen::Matrix >, 3, 3, 0, 3, 3> const&, Eigen::Matrix >, 3, -1, 0, 3, -1> const&, Eigen::AutoDiffScalar > const&) [inlined] Eigen::internal::gemm_blocking_space<0, Eigen::AutoDiffScalar >, Eigen::AutoDiffScalar >, 3, -1, 3, 1, false>::gemm_blocking_space(rows=Eigen::Index at scalar, cols=, depth=Eigen::Index at scalar, num_threads=Eigen::Index at scalar, l3_blocking=bool at scalar) at GeneralMatrixMatrix.h:347 frame #4: 0x000000010e4b2459 Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::generic_product_impl >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo >, 3, -1, 0, 3, -1> >(dst=0x00007fff5174e3b0, a_lhs=0x00007fff5174e3c0, a_rhs=0x00007fff5174e3a0, alpha=0x00007fff5174de48) + 361 at GeneralMatrixMatrix.h:486 frame #5: 0x000000010e4b21fe Eigen33BetaAutoDiffTransformIssue`void Eigen::internal::generic_product_impl >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo >, 3, -1, 0, 3, -1> >(dst=0x00007fff5174e3b0, lhs=0x00007fff5174e3c0, rhs=0x00007fff5174e3a0) + 462 at GeneralMatrixMatrix.h:439 frame #6: 0x000000010e4b1524 Eigen33BetaAutoDiffTransformIssue`main [inlined] Eigen::internal::Assignment >, 3, -1, 0, 3, -1>, Eigen::Product >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0>, Eigen::internal::assign_op > >, Eigen::internal::Dense2Dense, Eigen::AutoDiffScalar > >::run(dst=) + 1140 at ProductEvaluators.h:143 frame #7: 0x000000010e4b150a Eigen33BetaAutoDiffTransformIssue`main [inlined] void Eigen::internal::call_assignment_no_alias >, 3, -1, 0, 3, -1>, Eigen::Product >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0>, Eigen::internal::assign_op > > >(dst=) at AssignEvaluator.h:747 frame #8: 0x000000010e4b150a Eigen33BetaAutoDiffTransformIssue`main [inlined] Eigen::Matrix >, 3, -1, 0, 3, -1>& Eigen::PlainObjectBase >, 3, -1, 0, 3, -1> >::_set_noalias >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> >(Eigen::DenseBase >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> > const&) at PlainObjectBase.h:700 frame #9: 0x000000010e4b150a Eigen33BetaAutoDiffTransformIssue`main [inlined] Eigen::PlainObjectBase >, 3, -1, 0, 3, -1> >::PlainObjectBase >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> >(Eigen::DenseBase >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> > const&) + 111 at PlainObjectBase.h:510 frame #10: 0x000000010e4b149b Eigen33BetaAutoDiffTransformIssue`main [inlined] Eigen::Matrix >, 3, -1, 0, 3, -1>::Matrix >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> >(Eigen::EigenBase >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> > const&) at Matrix.h:379 frame #11: 0x000000010e4b149b Eigen33BetaAutoDiffTransformIssue`main [inlined] Eigen::Matrix >, 3, -1, 0, 3, -1>::Matrix >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> >(Eigen::EigenBase >, 3, 3, 0, 3, 3>, Eigen::Matrix >, 3, -1, 0, 3, -1>, 0> > const&) at Matrix.h:380 frame #12: 0x000000010e4b149b Eigen33BetaAutoDiffTransformIssue`main + 1003 at main.cpp:18 frame #13: 0x00007fff923aa5ad libdyld.dylib`start + 1 frame #14: 0x00007fff923aa5ad libdyld.dylib`start + 1