mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #17 from hegge/build-system-fixes
Minor build system fixes, gitignore and compiler warning
This commit is contained in:
commit
99fcb435ed
8
.gitignore
vendored
8
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
|
||||
# compiler output
|
||||
*.o
|
||||
*.a
|
||||
|
||||
# Octave plugins (compiled)
|
||||
*.oct
|
||||
@ -21,6 +22,13 @@ CMakeFiles/
|
||||
CMakeCache.txt
|
||||
/Generated/
|
||||
*.qrc.depends
|
||||
cmake_install.cmake
|
||||
CPack*.cmake
|
||||
CTest*.cmake
|
||||
|
||||
#Unit test binaries
|
||||
*_UnitTests
|
||||
!*_UnitTests/
|
||||
|
||||
# Target program
|
||||
/ApplicationCode/ResInsight
|
||||
|
@ -52,7 +52,7 @@ void getActiveCellInfo(int32NDArray& activeCellInfo, const QString &hostName, qu
|
||||
|
||||
activeCellCount = byteCount / sizeof(qint32);
|
||||
|
||||
dim_vector dv (2);
|
||||
dim_vector dv (2, 1);
|
||||
dv(0) = activeCellCount;
|
||||
dv(1) = timestepCount;
|
||||
activeCellInfo.resize(dv);
|
||||
|
@ -51,7 +51,7 @@ void getMainGridDimensions(int32NDArray& gridDimensions, const QString &hostName
|
||||
socketStream >> jCount;
|
||||
socketStream >> kCount;
|
||||
|
||||
dim_vector dv (1);
|
||||
dim_vector dv (1, 1);
|
||||
dv(0) = 3;
|
||||
|
||||
gridDimensions.resize(dv);
|
||||
|
3
ThirdParty/Ert/devel/.gitignore
vendored
Normal file
3
ThirdParty/Ert/devel/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/lib/
|
||||
ert_build_config.h
|
||||
*_vector.[ch]
|
Loading…
Reference in New Issue
Block a user