Skip to content

Commit

Permalink
Fix Complex variables not saved to VTK scheme in VTXWriter #2828
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd authored and jhale committed Oct 27, 2023
1 parent acbb221 commit 5b54f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/dolfinx/io/ADIOS2Writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ extract_function_names(const typename adios2_writer::U<T>& u)
{
using U = std::decay_t<decltype(u)>;
using X = typename U::element_type;
if constexpr (std::is_floating_point_v<typename X::geometry_type>)
if constexpr (std::is_floating_point_v<typename X::value_type>)
names.push_back(u->name);
else
{
Expand Down

0 comments on commit 5b54f93

Please sign in to comment.