Commit 752439dd authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Adding some fitting results for GDT

parent 6ae5425c
......@@ -20,6 +20,7 @@
#include <core/function.h>
#include <core/fitter.h>
#include <core/plugins_manager.h>
#include <core/vertical_segment.h>
#include <iostream>
#include <vector>
......@@ -55,6 +56,11 @@ int main(int argc, char** argv)
// Import data
data* d = NULL ;
d = plugins_manager::get_data(args["data"]) ;
if(dynamic_cast<const vertical_segment*>(d) != NULL) {
std::cerr << "<<ERROR>> this data object is not interpolant." << std::endl;
return 1;
}
d->load(args["input"]);
// Create output file
......
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