Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
alta
alta
Commits
ca0c48e9
Commit
ca0c48e9
authored
Jul 03, 2013
by
Laurent Belcour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding dimension to some input files
parent
3c4f7f1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
sources/softs/brdf2gnuplot/brdf2gnuplot.pro
sources/softs/brdf2gnuplot/brdf2gnuplot.pro
+2
-1
sources/softs/brdf2gnuplot/main.cpp
sources/softs/brdf2gnuplot/main.cpp
+3
-3
No files found.
sources/softs/brdf2gnuplot/brdf2gnuplot.pro
View file @
ca0c48e9
CONFIG
+=
qt
CONFIG
+=
qt
\
console
INCLUDEPATH
+=
..
/../
DESTDIR
=
..
/../
build
...
...
sources/softs/brdf2gnuplot/main.cpp
View file @
ca0c48e9
...
...
@@ -4,7 +4,7 @@
#include <core/fitter.h>
#include <core/plugins_manager.h>
#include <QApplication>
#include <Q
Core
Application>
#include <iostream>
#include <vector>
...
...
@@ -15,7 +15,7 @@
int
main
(
int
argc
,
char
**
argv
)
{
QApplication
app
(
argc
,
argv
,
false
);
Q
Core
Application
app
(
argc
,
argv
,
false
);
arguments
args
(
argc
,
argv
)
;
plugins_manager
manager
(
args
)
;
...
...
@@ -79,7 +79,7 @@ int main(int argc, char** argv)
vec
v
=
d
->
get
(
i
)
;
vec
y2
=
f
->
value
(
v
)
;
if
(
linear_plot
)
if
(
!
linear_plot
)
{
for
(
int
u
=
0
;
u
<
d
->
dimX
();
++
u
)
file
<<
v
[
u
]
<<
"
\t
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment