From 166f076f2d85a149e0b65105eb9c9822095c2d16 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 27 Mar 2022 09:04:21 +0200 Subject: [PATCH] models:: makeband as a function --- hypgraph.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 5bfa3c9e..ebbd365d 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -277,6 +277,10 @@ template void makeband(shiftpoint H, hyperpoint& ret, const T& f) { return; } +EX void makeband_f(shiftpoint H, hyperpoint& ret, const hr::function& f) { + makeband(H, ret, f); + } + void band_conformal(ld& x, ld& y) { switch(cgclass) { case gcSphere: