Skip to content

Commit bbcda78

Browse files
committed
cont : fix build
1 parent 6589d3b commit bbcda78

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/llama-memory-recurrent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ bool llama_memory_recurrent::state_read_data(llama_io_read_i & io, uint32_t cell
10881088
llama_memory_recurrent_context::llama_memory_recurrent_context(llama_memory_status status) : status(status) {}
10891089

10901090
llama_memory_recurrent_context::llama_memory_recurrent_context(
1091-
llama_memory_recurrent * mem) : status(LLAMA_MEMORY_STATUS_SUCCESS), mem(mem), is_full(true),
1091+
llama_memory_recurrent * mem) : status(LLAMA_MEMORY_STATUS_SUCCESS), mem(mem),
10921092
n_rs(mem->size), head(0), rs_z(0), size(mem->size) {
10931093
}
10941094

src/llama-memory-recurrent.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ class llama_memory_recurrent_context : public llama_memory_context_i {
177177
// data needed for building the compute graph for the current ubatch:
178178
//
179179

180-
const bool is_full = false;
181-
182180
const uint32_t n_rs = 0;
183181
const uint32_t head = 0;
184182
const int32_t rs_z = -1;

0 commit comments

Comments
 (0)