Commit 618a7a05 authored by Douglas Serson's avatar Douglas Serson
Browse files

Fix InputPts

parent d0bf2741
...@@ -86,13 +86,13 @@ void InputPts::Process(po::variables_map &vm) ...@@ -86,13 +86,13 @@ void InputPts::Process(po::variables_map &vm)
string inFile = m_config["infile"].as<string>(); string inFile = m_config["infile"].as<string>();
// Determine appropriate field input // Determine appropriate field input
if (m_f->m_inputfiles.count("pts") != 0) if (m_f->m_inputfiles.count("csv") != 0)
{ {
LibUtilities::CsvIOSharedPtr csvIO = LibUtilities::CsvIOSharedPtr csvIO =
MemoryManager<LibUtilities::CsvIO>::AllocateSharedPtr(m_f->m_comm); MemoryManager<LibUtilities::CsvIO>::AllocateSharedPtr(m_f->m_comm);
csvIO->Import(inFile, m_f->m_fieldPts); csvIO->Import(inFile, m_f->m_fieldPts);
} }
else if (m_f->m_inputfiles.count("csv") != 0) else if (m_f->m_inputfiles.count("pts") != 0)
{ {
LibUtilities::PtsIOSharedPtr ptsIO = LibUtilities::PtsIOSharedPtr ptsIO =
MemoryManager<LibUtilities::PtsIO>::AllocateSharedPtr(m_f->m_comm); MemoryManager<LibUtilities::PtsIO>::AllocateSharedPtr(m_f->m_comm);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment