From 79b2de777a3841bced5fd782a46166fc4d9d7489 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 27 Apr 2013 20:05:11 +0300 Subject: [PATCH] Minor fixes --- .gitignore | 5 +++-- source/linal/dummy.cpp | 1 + source/linal/matrix.h | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index f0ea9e5..d66094e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -/.config +.config +temp +/libmspmath.a /libmspmath.so /mspmath.pc -/temp diff --git a/source/linal/dummy.cpp b/source/linal/dummy.cpp index dd69a99..28e681a 100644 --- a/source/linal/dummy.cpp +++ b/source/linal/dummy.cpp @@ -6,3 +6,4 @@ /* This dummy file is needed to make Builder happy, and also serves as a syntax check by pulling in all the headers. */ +void dummy() { } diff --git a/source/linal/matrix.h b/source/linal/matrix.h index 00e960d..4fc2bc6 100644 --- a/source/linal/matrix.h +++ b/source/linal/matrix.h @@ -1,5 +1,5 @@ -#ifndef MSP_LIEAL_MATMIX_H_ -#define MSP_LIEAL_MATMIX_H_ +#ifndef MSP_LINAL_MATRIX_H_ +#define MSP_LINAL_MATRIX_H_ #include "vector.h" @@ -139,7 +139,7 @@ Vector operator*(const Vector &v, const Matrix &m) Vector r; for(unsigned j=0; j