From 190c8aa71241de2ee48d5f1feb7514590198a087 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 18 Mar 2019 10:30:45 -0500 Subject: [PATCH] Fixing dll definitions for openmc_property_map. --- openmc/capi/plot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openmc/capi/plot.py b/openmc/capi/plot.py index f9873f4bd9..44c7ad3830 100644 --- a/openmc/capi/plot.py +++ b/openmc/capi/plot.py @@ -218,9 +218,9 @@ def id_map(plot): return img_data -_dll.openmc_id_map.argtypes = [POINTER(_PlotBase), POINTER(c_double)] -_dll.openmc_id_map.restype = c_int -_dll.openmc_id_map.errcheck = _error_handler +_dll.openmc_property_map.argtypes = [POINTER(_PlotBase), POINTER(c_double)] +_dll.openmc_property_map.restype = c_int +_dll.openmc_property_map.errcheck = _error_handler def property_map(plot):