From b1d757f3db40b7efc030912c40744f7e409a182a Mon Sep 17 00:00:00 2001
From: Vedrana Andersen Dahl <vedranaa@gmail.com>
Date: Mon, 6 Mar 2023 03:32:14 +0100
Subject: [PATCH] Update snake_functions.py

---
 Chapter06/snake_functions.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Chapter06/snake_functions.py b/Chapter06/snake_functions.py
index deef108..ff803c4 100644
--- a/Chapter06/snake_functions.py
+++ b/Chapter06/snake_functions.py
@@ -1,12 +1,13 @@
 """
-Helping functions for snakes.
+Helping functions for snakes. 
+Note that snake here is 2-by-N array!
 """
 
 import numpy as np
 import scipy.interpolate
 
 def distribute_points(snake):
-    """ Distributes snake points equidistantly."""
+    """ Distributes snake points equidistantly. Expects snake to be 2-by-N array."""
     N = snake.shape[1]
     
     # Compute length of line segments.
-- 
GitLab