<commit_before>#include <tuple>
#include <unordered_map>
#include "photon.h"
#include "../vecmath/vec.h"

template <typename T>
class mHash{
  float radius;

  public:
    mHash(float r): radius(r){}

    // Update this part to support whatever type we use for Point
    std::tuple<int, int, int> operator() ( T p ){
      return std::make_tuple( int(p.x/radius), int(p.y/radius), int(p.z/radius))
    }

};


// spatialHash = unordered_map<Point, Photon, mHash>(); //Create the Spatial Hash<commit_msg>Pretty sure I finished the spatial hash<commit_after>#include <tuple>
#include <unordered_map>
#include "photon.h"
#include "../vecmath/vec.h"

template <typename T>
class mHash{
  float radius;

  public:
    mHash(float r): radius(r){}

    // Update this part to support whatever type we use for Point
    std::tuple<int, int, int> operator() ( T p ){
      return std::make_tuple( int(p.x/radius), int(p.y/radius), int(p.z/radius))
    }

};


// spatialHash = unordered_map<Point, Photon, mHash(radius)>(); //Create the Spatial Hash
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.0, 'mean_word_length': 3.7972350230414746, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3184555', 'n_tokens_mistral': 363, 'n_tokens_neox': 351, 'n_words': 103}