Giter Club home page Giter Club logo

iri2020's Introduction

iri2020's People

Contributors

scivision avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

judywhite

iri2020's Issues

loop upper limit causes array reference out of bounds

  • operating system (Windows-msys2-mingw32)
  • compiler & version (GNU Fortran (Rev10, Built by MSYS2 project) 12.2.0)

In the compiling phase, a lot of messages were displayed. The last message looked like this:

IRI-2023-May/igrf.for:315:15:

  296 |       DO 3 N=3,3333
      |                            2
......
  315 | 4     T=(Z-P(3,N-1))/STEP
      |               1
Warning: Array reference at (1) out of bounds (3332 > 100) in loop beginning at (2)

The size of array P is defined by line 207:

207       DIMENSION         V(3),U(3,3),P(8,100),SP(3)

Array P was accessed in this fashion:

 298       P(1,N)=P(1,N-1)+STEP12*(5.*P(4,N)+8.*P(4,N-1)-P(4,N-2))

The "Do" loop upper limit should be 100, not 3333.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.