From 263f70642cd0ee8f3928b0b212f5882704ebe8c0 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Fri, 8 Mar 2019 10:50:11 -0600 Subject: [PATCH] Renaming ID data structure. --- include/openmc/plot.h | 2 +- src/plot.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openmc/plot.h b/include/openmc/plot.h index c6ad951cb..8a9e4e74d 100644 --- a/include/openmc/plot.h +++ b/include/openmc/plot.h @@ -52,7 +52,7 @@ struct RGBColor { }; typedef xt::xtensor ImageData; -typedef xt::xtensor IDData; +typedef xt::xtensor IdData; enum class PlotType { slice = 1, diff --git a/src/plot.cpp b/src/plot.cpp index 2dbf0b6f7..f4e1389e2 100644 --- a/src/plot.cpp +++ b/src/plot.cpp @@ -968,7 +968,7 @@ extern "C" int openmc_id_map(void* plot, int32_t* data_out) { double out_pixel = (plt->width_[1])/static_cast(height); // size data array - IDData data; + IdData data; data.resize({height, width, 2}); // setup basis indices and initial position centered on pixel