From 803dfcfd29f31c2fcac04645a5b698f68ab51934 Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Sun, 8 Sep 2024 23:45:04 -0700 Subject: [PATCH] Fix ElectricalSeries --- src/nwb/ecephys/ElectricalSeries.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nwb/ecephys/ElectricalSeries.cpp b/src/nwb/ecephys/ElectricalSeries.cpp index f0c690f1..14ce6ca4 100644 --- a/src/nwb/ecephys/ElectricalSeries.cpp +++ b/src/nwb/ecephys/ElectricalSeries.cpp @@ -54,7 +54,7 @@ void ElectricalSeries::initialize(const IO::BaseDataType& dataType, getPath() + "/channel_conversion")); channelConversion->writeDataBlock( std::vector(1, channelVector.size()), - BaseDataType::F32, + IO::BaseDataType::F32, &channelConversions[0]); io->createCommonNWBAttributes(getPath() + "/channel_conversion", "hdmf-common",