Skip to content

CachedInterpolations test error #91

@kdw503

Description

@kdw503

There seems to be test errors in 'CachedInterpolations' module.
Testing lines below(for julia 0.6 REPL) are came from first several lines in 'test/cached_interpolations.jl' file.

include("src/CachedInterplations.jl")
using Main.CachedInterpolations, Base.Test
A = reshape([0;1;0], (3,1))
C = CachedInterpolations.cachedinterpolators(A, 1)
@test C[1][2.2]  3/4-0.2^2

This gives an error as below

Test Failed
  Expression: (C[1])[2.2] ≈ / 4 - 0.2 ^ 2
   Evaluated: 0.04499999999999995 ≈ 0.71
ERROR: There was an error during testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions