Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Update finger_metrics.h #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update finger_metrics.h
Fix for the error thrown for 

include/gestures/include/finger_metrics.h" In member function 'float gestures::Vecotr2::Mag() const': include/gestures/include/finger_metrics.h:38:12: error: 'sqrtf' was not declared in this scope
  return sqrtf(MagSq());
kcalvinalvin authored Jul 17, 2019
commit 911cadb864b84b4c18214e594f917a8c580a32bd
1 change: 1 addition & 0 deletions include/gestures/include/finger_metrics.h
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
#ifndef GESTURES_FINGER_METRICS_H_
#define GESTURES_FINGER_METRICS_H_

#include <math.h>
#include "gestures/include/gestures.h"
#include "gestures/include/prop_registry.h"
#include "gestures/include/vector.h"