fixed the following compile time error:

#include "mymath/mymath.h"

using namespace mymath;

vec2 fun( const vec2& v ) --> v being const and then swizzled caused a compile time error, now it works
{
  return v.yx * vec2( 1.5 );
}

int main( int argc, char* args[] )
{
  vec2 a( 1, 2 );
  std::cout << fun( a ) << std::endl;
  return 0;
}