Added DeckDoubleItem implementation
This commit is contained in:
@@ -17,11 +17,13 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "DeckIntItem.hpp"
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <opm/parser/eclipse/Deck/DeckIntItem.hpp>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
int DeckIntItem::getInt(unsigned int index) const {
|
||||
int DeckIntItem::getInt(size_t index) const {
|
||||
if (index < m_data.size()) {
|
||||
return m_data[index];
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user