[plot] drop inline from update_sample

pull/1516/head
nick black 3 years ago
parent f2dd921caa
commit 9dad70568b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -342,7 +342,7 @@ int window_slide_##T(nc##X##plot* ncp, int64_t x){ \
} \
\
/* x must be within n's window at this point */ \
inline void update_sample_##T(nc##X##plot* ncp, int64_t x, T y, bool reset){ \
void update_sample_##T(nc##X##plot* ncp, int64_t x, T y, bool reset){ \
const int64_t diff = ncp->slotx - x; /* amount behind */ \
const int idx = (ncp->slotstart + ncp->slotcount - diff) % ncp->slotcount; \
if(reset){ \

Loading…
Cancel
Save