This commit is contained in:
Ben Foppa 2015-01-07 15:11:09 -05:00
parent a086b607a3
commit bd7b4f287f
15 changed files with 12 additions and 26 deletions

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! bench_binop( macro_rules! bench_binop(
($name: ident, $t1: ty, $t2: ty, $binop: ident) => { ($name: ident, $t1: ty, $t2: ty, $binop: ident) => {

View File

@ -1,5 +1,3 @@
#![feature(macro_rules)]
extern crate test; extern crate test;
extern crate "nalgebra" as na; extern crate "nalgebra" as na;

View File

@ -1,5 +1,3 @@
#![feature(macro_rules)]
extern crate test; extern crate test;
extern crate "nalgebra" as na; extern crate "nalgebra" as na;

View File

@ -82,10 +82,6 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
#![deny(unused_qualifications)] #![deny(unused_qualifications)]
#![deny(unused_results)] #![deny(unused_results)]
#![warn(missing_docs)] #![warn(missing_docs)]
#![feature(macro_rules)]
#![feature(globs)]
#![feature(default_type_params)]
#![feature(associated_types)]
#![feature(old_orphan_check)] #![feature(old_orphan_check)]
#![feature(unboxed_closures)] #![feature(unboxed_closures)]
#![doc(html_root_url = "http://nalgebra.org/doc")] #![doc(html_root_url = "http://nalgebra.org/doc")]

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! dvec_impl( macro_rules! dvec_impl(
($dvec: ident) => ( ($dvec: ident) => (

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! iso_impl( macro_rules! iso_impl(
($t: ident, $submat: ident, $subvec: ident, $subrotvec: ident) => ( ($t: ident, $submat: ident, $subvec: ident, $subrotvec: ident) => (

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! mat_impl( macro_rules! mat_impl(
($t: ident, $comp0: ident $(,$compN: ident)*) => ( ($t: ident, $comp0: ident $(,$compN: ident)*) => (

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! orig_impl( macro_rules! orig_impl(
($t: ident, $comp0: ident $(,$compN: ident)*) => ( ($t: ident, $comp0: ident $(,$compN: ident)*) => (

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! submat_impl( macro_rules! submat_impl(
($t: ident, $submat: ident) => ( ($t: ident, $submat: ident) => (

View File

@ -1,4 +1,4 @@
#![macro_escape] #![macro_use]
macro_rules! new_impl( macro_rules! new_impl(
($t: ident, $comp0: ident $(,$compN: ident)*) => ( ($t: ident, $comp0: ident $(,$compN: ident)*) => (

View File

@ -2,7 +2,7 @@
use std::f32; use std::f32;
use std::f64; use std::f64;
use std::num::{Int, Float, FloatMath}; use std::num::{Int, Float};
use std::slice::{Iter, IterMut}; use std::slice::{Iter, IterMut};
use std::ops::{Add, Sub, Mul, Div, Neg, Rem, Index, IndexMut}; use std::ops::{Add, Sub, Mul, Div, Neg, Rem, Index, IndexMut};
use traits::operations::{RMul, LMul, Axpy, Transpose, Inv, Absolute}; use traits::operations::{RMul, LMul, Axpy, Transpose, Inv, Absolute};
@ -17,7 +17,7 @@ pub trait BaseNum: Copy + Zero + One +
} }
/// Basic floating-point number numeric trait. /// Basic floating-point number numeric trait.
pub trait BaseFloat: FloatMath + BaseNum { pub trait BaseFloat: Float + BaseNum {
/// Archimedes' constant. /// Archimedes' constant.
fn pi() -> Self; fn pi() -> Self;
/// 2.0 * pi. /// 2.0 * pi.

View File

@ -1,9 +1,9 @@
//! Assertion macro tests //! Assertion macro tests
#![feature(phase)] #![feature(plugin)]
#[phase(plugin)] #[plugin]
extern crate nalgebra; #[macro_use]
extern crate nalgebra; extern crate nalgebra;
use nalgebra::{ApproxEq, Vec2}; use nalgebra::{ApproxEq, Vec2};

View File

@ -1,5 +1,3 @@
#![feature(macro_rules)]
extern crate "nalgebra" as na; extern crate "nalgebra" as na;
use std::rand::random; use std::rand::random;

View File

@ -1,5 +1,3 @@
#![feature(macro_rules)]
extern crate "nalgebra" as na; extern crate "nalgebra" as na;
use na::{Pnt3, Vec3, Rot3, UnitQuat, Rotation}; use na::{Pnt3, Vec3, Rot3, UnitQuat, Rotation};

View File

@ -1,5 +1,3 @@
#![feature(macro_rules)]
extern crate "nalgebra" as na; extern crate "nalgebra" as na;
use std::rand::random; use std::rand::random;