From 88bdd70987e76a58ea0fd917f63aa0c682848116 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sun, 09 Dec 2018 21:47:36 +0000
Subject: [PATCH] testing confinement (preliminary)
---
src/io.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/io.c b/src/io.c
index 669a4b0..d5157be 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1195,8 +1195,8 @@
cfg = cfg_init(opts, 0);
retval=cfg_parse_buf(cfg, buffer);
tape->plane_confinement_switch=cfg_getint(cfg,"plane_confinement_switch");
- tape->plane_d=cfg_getint(cfg,"plane_d");
- tape->plane_F=cfg_getint(cfg,"plane_F");
+ tape->plane_d=cfg_getfloat(cfg,"plane_d");
+ tape->plane_F=cfg_getfloat(cfg,"plane_F");
if(retval==CFG_FILE_ERROR){
fatal("No tape file.",100);
--
Gitblit v1.8.0