From 24c91fb76aa185697332550fa8e1c7a4bf7211ac Mon Sep 17 00:00:00 2001 From: Nicole Date: Thu, 9 May 2024 12:02:05 -0700 Subject: [PATCH] Update ascent_runtime_rendering_filters.cpp as_int32 to to_int64 replace as_int32 with to_int64 --- .../flow_filters/ascent_runtime_rendering_filters.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp b/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp index 07bbd5474..a1885f5e4 100644 --- a/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp +++ b/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp @@ -1287,7 +1287,7 @@ DefaultRender::execute() std::string field_name = render_node["auto_camera/field"].as_string(); std::string metric = render_node["auto_camera/metric"].as_string(); - int samples = render_node["auto_camera/samples"].as_int32(); + int samples = render_node["auto_camera/samples"].to_int64(); if(!collection->has_field(field_name)) { @@ -1303,17 +1303,17 @@ DefaultRender::execute() int width = 1024; if(render_node.has_path("auto_camera/bins")) { - int bins = render_node["auto_camera/bins"].as_int32(); + int bins = render_node["auto_camera/bins"].to_int64(); auto_cam.SetNumBins(bins); } if(render_node.has_path("auto_camera/height")) { - height = render_node["auto_camera/height"].as_int32(); + height = render_node["auto_camera/height"].to_int64(); auto_cam.SetHeight(height); } if(render_node.has_path("auto_camera/width")) { - width = render_node["auto_camera/width"].as_int32(); + width = render_node["auto_camera/width"].to_int64(); auto_cam.SetWidth(width); }