Commit ca0c48e9 authored by Laurent Belcour's avatar Laurent Belcour

Adding dimension to some input files

parent 3c4f7f1e
CONFIG += qt CONFIG += qt \
console
INCLUDEPATH += ../../ INCLUDEPATH += ../../
DESTDIR = ../../build DESTDIR = ../../build
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <core/fitter.h> #include <core/fitter.h>
#include <core/plugins_manager.h> #include <core/plugins_manager.h>
#include <QApplication> #include <QCoreApplication>
#include <iostream> #include <iostream>
#include <vector> #include <vector>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
QApplication app(argc, argv, false); QCoreApplication app(argc, argv, false);
arguments args(argc, argv) ; arguments args(argc, argv) ;
plugins_manager manager(args) ; plugins_manager manager(args) ;
...@@ -79,7 +79,7 @@ int main(int argc, char** argv) ...@@ -79,7 +79,7 @@ int main(int argc, char** argv)
vec v = d->get(i) ; vec v = d->get(i) ;
vec y2 = f->value(v) ; vec y2 = f->value(v) ;
if(linear_plot) if(!linear_plot)
{ {
for(int u=0; u<d->dimX(); ++u) for(int u=0; u<d->dimX(); ++u)
file << v[u] << "\t" ; file << v[u] << "\t" ;
......
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