From f9570e5089eeabe32be84ab0507c1d9df99650af Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 16 Oct 2024 11:46:33 +0200 Subject: Removed redundant coordinate computation --- src/solvers/h48/gendata_h48.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/solvers/h48/gendata_h48.h') diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index 4400011..55c4f34 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h @@ -24,8 +24,6 @@ STATIC_INLINE uint8_t get_h48_pval_atomic( _Atomic const uint8_t *, int64_t, uint8_t); STATIC_INLINE void set_h48_pval_atomic( _Atomic uint8_t *, int64_t, uint8_t, uint8_t); -STATIC_INLINE uint8_t get_h48_bound( - cube_t, uint32_t, uint8_t, uint8_t, const uint8_t *); size_t gendata_h48_derive(uint8_t, const void *, void *); @@ -686,20 +684,6 @@ set_h48_pval_atomic(_Atomic uint8_t *table, int64_t i, uint8_t k, uint8_t val) | (val << H48_SHIFT(i, k)); } -STATIC_INLINE uint8_t -get_h48_bound( - cube_t cube, - uint32_t cdata, - uint8_t h, - uint8_t k, - const uint8_t *table -) { - int64_t coord; - - coord = coord_h48_edges(cube, COCLASS(cdata), TTREP(cdata), h); - return get_h48_pval(table, coord, k); -} - size_t gendata_h48_derive(uint8_t h, const void *fulltable, void *buf) { -- cgit v1.3