From 43533aa36310cce0a08a8e557d35267fc58fd1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Sat, 11 Mar 2023 10:02:55 +0100 Subject: [PATCH] Fix tm initialization --- test/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main.cpp b/test/main.cpp index 15c37d3..1b84301 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -54,7 +54,7 @@ int main(int argc, char **argv) m(0, 2) = 2; m(1, 0) = 10; image.addProperty(Property("UI16Matrix", m)); - std::tm tm = {12, 22, 23, 1, 2, 2023, 0, 0, 0, 0, 0}; + std::tm tm = {12, 22, 23, 1, 2, 2023, 0, 0, 0}; image.addProperty(Property("TimeObs", tm)); image.addFITSKeyword({"RA", "226.9751163116387", "Right ascension of the center of the image (deg)"}); image.addFITSKeyword({"DEC", "62.02302376908295", "Declination of the center of the image (deg)"});