Skip to content
Snippets Groups Projects
Commit c13d4b31 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent f6c9f773
No related branches found
No related tags found
No related merge requests found
...@@ -589,7 +589,7 @@ StringXNumber GeneralOptions_Number[] = { ...@@ -589,7 +589,7 @@ StringXNumber GeneralOptions_Number[] = {
"Vertical position (in pixels) of the upper left corner of the contextual " "Vertical position (in pixels) of the upper left corner of the contextual "
"windows" }, "windows" },
{ F|O, "DisplayBorderFactor" , opt_general_display_border_factor , 0.15 , { F|O, "DisplayBorderFactor" , opt_general_display_border_factor , 0.2 ,
"Border factor for model display (0: model fits window size exactly)" }, "Border factor for model display (0: model fits window size exactly)" },
{ F|O, "DoubleBuffer" , opt_general_double_buffer , 1. , { F|O, "DoubleBuffer" , opt_general_double_buffer , 1. ,
"Use a double buffered graphic window (on Unix, should be set to 0 when " "Use a double buffered graphic window (on Unix, should be set to 0 when "
......
...@@ -434,7 +434,7 @@ bool PViewDataGModel::readMED(std::string fileName, int fileIndex) ...@@ -434,7 +434,7 @@ bool PViewDataGModel::readMED(std::string fileName, int fileIndex)
// Gauss points or the number of nodes per element into account, // Gauss points or the number of nodes per element into account,
// but not the number of components) // but not the number of components)
#if (MED_MAJOR_NUM == 3) #if (MED_MAJOR_NUM == 3)
int profileSize; med_int profileSize;
med_int numVal = MEDfieldnValueWithProfile(fid, name, numdt, numit, ent, ele, med_int numVal = MEDfieldnValueWithProfile(fid, name, numdt, numit, ent, ele,
1, MED_COMPACT_STMODE, profileName, 1, MED_COMPACT_STMODE, profileName,
&profileSize, locName, &ngauss); &profileSize, locName, &ngauss);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment