Re: [eigen] DenseBase<Derived>::Zero initialization problem |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] DenseBase<Derived>::Zero initialization problem
- From: Oleg Shirokobrod <oleg.shirokobrod@xxxxxxxxx>
- Date: Wed, 22 Jun 2022 20:58:20 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=I/zgcFE31tzVUtQgP+yhpukSlU8rtsobzpumUBqo5GE=; b=WmoP1mVzQGaFb0BPhfpLGPlDkqJLj8c3CJy0BqM7sR9UlCjIV4M/BtfOfelQY95U6j Kix2qxQWFF/fPZaQ6c6traROUXVIINu9pB46ZKwOKG4em2C/l192edyPsm6DI0RzTS5v rVb2ZAkwpXUxi2T+e2iDxJzrfkG9U1M8I3YWPOJ2Z/9qz3z/ZpnJu8lbItGGhg2YqNOe jMx5hmB0LLxtTf4+G46MLlSuvHiHKjvup+imtc9TZNBnhBzpWz6b1zFe3zY/sV43DmEB NNc9Oz6ptb4rNL7zkTPV3Oda+i//YrzfseRRaRBHuBX2van0570E9JTaf14k//DBoMWw EyKA==
Antonio, You are right
auto z2 = std::complex < ceres::Jet<double, 3>>(0.0);
does not work, but
auto z2 = std::complex < ceres::Jet<double, 3>>();
does work.