Skip to content

Commit 4886ac8

Browse files
committed
g2048
1 parent b554919 commit 4886ac8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

ocean/g2048/binding.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define NUM_ATNS 1
44
#define ACT_SIZES {4}
55
#define OBS_TENSOR_T ByteTensor
6-
#define ACT_TYPE DOUBLE
76

87
#define Env Game
98
#include "vecenv.h"

ocean/g2048/g2048.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ typedef struct Log {
5353
typedef struct Game {
5454
Log log; // Required
5555
unsigned char* observations; // Cheaper in memory if encoded in uint_8
56-
double* actions; // Required
56+
float* actions; // Required
5757
float* rewards; // Required
5858
float* terminals; // Required
5959
int num_agents; // Required for env_binding

0 commit comments

Comments
 (0)